- Joined
- Jun 26, 2020
- Messages
- 1,928
Hello, I was testing a bit with the war3mapSkin.txt file to see if I can create custom localized strings, I mean I can just create a custom tag for them like "Y_AHORA=Espero que funcione" and then use:
Display (Localize(Y_AHORA))
And it worked, in printed "Espero que funcione", and then tested if I can do it for each locale to see if I can print different texts for different languages of the game and also worked, I don't know if I'm the first one that found this because I couldn't find any other thread about this so probably is a reason that none say something about this, so I'm asking if there is a problem with trying this?
The only issue I found if I reopen the map in the editor with the various war3mapSkin.txt files in it and then save it again when I changed the language of the game then the default war3mapSkin.txt gets overwritten for the file of the locale I'm using, but is not hard to overcome that issue, pls tell me if there is something else.
Display (Localize(Y_AHORA))
And it worked, in printed "Espero que funcione", and then tested if I can do it for each locale to see if I can print different texts for different languages of the game and also worked, I don't know if I'm the first one that found this because I couldn't find any other thread about this so probably is a reason that none say something about this, so I'm asking if there is a problem with trying this?
The only issue I found if I reopen the map in the editor with the various war3mapSkin.txt files in it and then save it again when I changed the language of the game then the default war3mapSkin.txt gets overwritten for the file of the locale I'm using, but is not hard to overcome that issue, pls tell me if there is something else.