+ Reply to Thread
Results 1 to 7 of 7

Thread: Is there a way I can edit the SBF expiry warning text?

  1. #1
    Join Date
    Mar 2010
    Posts
    302

    Is there a way I can edit the SBF expiry warning text?

    I've been tinkering with the text I see on addons like MSBT so that various messages like "(ability name) is ready now" are in Spanish (I play Spanish WoW and I try to completely immerse myself in the language to improve my understanding of it i.e. my horde toons are on Ragnaros) and there's, to the best of my knowledge, only one message that remains untranslated: the SBF expiry warning "(buff name) is about to expire." I looked in the SBF options and I saw nothing to change that text. Is there something I'm missing or am I even able to change this? It's not really crucial but something I'd like to do for the heck of it
    Speak out! Ask for Stargate Atlantis to be brought back!
    http://www.petitionspot.com/petitions/SaveSGA/

  2. #2
    Join Date
    Jul 2007
    Location
    Canadia
    Posts
    3,523
    .../SatrinaBuffFrame/Locales/Localisation.enUS.lua
    Got a question? Try here: Evil Empire Guides and here: Tankspot Guides and Articles Library first!

  3. #3
    Join Date
    Mar 2010
    Posts
    302
    I don't understand =\
    Speak out! Ask for Stargate Atlantis to be brought back!
    http://www.petitionspot.com/petitions/SaveSGA/

  4. #4
    Join Date
    Jul 2007
    Location
    Canadia
    Posts
    3,523
    Find SatrinaBuffFrame in your WoW addons directory. There's a directory under it called "Locales". Edit the file "Localisation.enUS.lua" with Notepad. Search for the text you want and change it. The specific line you are looking for is SBF.strings.BUFFEXPIRE = SBF.strings.BUFFEXPIRE or "is about to expire", which is the second line in the file. Change only the text between the qoutes, that is, "is about to expire" -> "spanish for is about to expire". You can do this for whatever other strings in there you want. After you are done, save the file. Next time you log in, all should be as you want it to be.
    Got a question? Try here: Evil Empire Guides and here: Tankspot Guides and Articles Library first!

  5. #5
    Join Date
    Mar 2010
    Posts
    302
    Does your addon's localization script have a problem with accented letters like , , , etc? On the about to expire thing, I put "expirar pronto" and when I checked it in-game, it said expirarpronto ran together. I double checked and I put it in correctly, but it doesn't display correctly in-game.

    I've seen such problems with alt coded letters with WoW in localization esmx

    There was a priest named "Sexyitch" and to my game, besides the nameplate above her name, she was named "Sexyitch"
    I grouped with a gnome warrior named ules and my game showed her as being "Ules"
    Last edited by Valandris; 04-13-2010 at 07:52 PM. Reason: In case these examples help.
    Speak out! Ask for Stargate Atlantis to be brought back!
    http://www.petitionspot.com/petitions/SaveSGA/

  6. #6
    Join Date
    Nov 2009
    Location
    BC, Canada
    Posts
    10
    Is it possible that the font you are using does not support those characters? I've seen a lot of custom fonts that only have the non accented characters.

  7. #7
    Join Date
    Jul 2007
    Location
    Canadia
    Posts
    3,523
    Ah, I should have figured on accented characters for Spanish. The poster above may also be correct if you have changed the game font to something else.

    What you do is find the accented character you need to have in the string and use the \xxx\yyy sequence in its place:

    = \195\160
    = \195\168
    = \195\168
    è = \195\168
    = \195\172
    = \195\178
    = \195\185
    = \195\161
    = \195\169
    = \195\173
    = \195\179
    = \195\186
    = \195\162
    = \195\170
    = \195\174
    = \195\180
    = \195\187
    = \195\163
    = \195\171
    = \195\175
    = \195\181
    = \195\188
    = \195\164
    = \195\177
    = \195\182
    = \195\166
    = \195\184
    = \195\167
    œ = \197\147
    = \195\132
    = \195\150
    = \195\156
    = \195\159
    = \195\132
    = \195\132

    In your case, expirar pronto becomes expirar\195\161 pronto

    (You can accomplish this in other ways, this is just the simplest and most direct for you and I don't wanna try and explain UTF-8 encodng =)
    Got a question? Try here: Evil Empire Guides and here: Tankspot Guides and Articles Library first!

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts