WoW:Localizing an addon: Difference between revisions

m
Line 225: Line 225:
Quote:
Quote:
## Title: Gatherer
## Title: Gatherer
## Title-frFR: Gatherer (en francais, in french)
## Title-frFR: Gatherer (en Francais, in French)
## Notes: Gatherer, displays stuff you gather in your minimap
## Notes: Gatherer, displays stuff you gather in your minimap
## Notes-frFR: Gatherer, affiche les objets recoltes dans la minicarte   
## Notes-frFR: Gatherer, affiche les objets recoltes dans la minicarte   
Line 231: Line 231:




The -frFR postfix indicate to a french localized client that a translation is available and should be prefered to the default (which most of the time correspond to english), if no "localized" entry exists for a specific client, the default one is displayed.
The -frFR postfix indicate to a French localized client that a translation is available and should be preferred to the default (which most of the time correspond to English), if no "localized" entry exists for a specific client, the default one is displayed.


Addendum (patch 1.4.0): in patch 1.4.0 a slightly cryptic comment from Slouken on the US board announce that they left the decimal point to the european value (ie a comma). The impact of this is that table index that uses a strings containing a dot do not work anymore, since that behaviour didn't exist before patch 1.4.0 on european version, caution would be avoid using dots in text index for table.
Addendum (patch 1.4.0): in patch 1.4.0 a slightly cryptic comment from Slouken on the US board announce that they left the decimal point to the European value (ie a comma). The impact of this is that table index that uses a strings containing a dot do not work anymore, since that behaviour didn't exist before patch 1.4.0 on European version, caution would be avoid using dots in text index for table.


Exemple: prior to patch this table was fine.
Example: prior to patch this table was fine.
     ["FR 1.4.0"] = ...
     ["FR 1.4.0"] = ...


Post patch, trying get the index content would result in an error because it was translated by the game engine to "FR 1,4,0" which of course doesn't match the index up there.
Post patch, trying to get the index content would result in an error because it was translated by the game engine to "FR 1,4,0" which of course doesn't match the index up there.


== Some tips ==
== Some tips ==
Anonymous user