Localization
SparkyMcSparks
Join Date: 2010-04-12 Member: 71347Members
<div class="IPBDescription">Multi Language Supported Mods</div>I don't see a system set up in NS2, yet.
Unless it's all done in the flash HUD ActionScript?
Can anyone confirm if they ordered NS2 and have the Alpha version in Germany, France, Italy, etc... whether their game is in English or is it localized?
Maybe we can make an XML file table with strings and read it off in Lua based on the language of the game. Anyone know if there is an API to detect or global variable that is set to a language?
Unless it's all done in the flash HUD ActionScript?
Can anyone confirm if they ordered NS2 and have the Alpha version in Germany, France, Italy, etc... whether their game is in English or is it localized?
Maybe we can make an XML file table with strings and read it off in Lua based on the language of the game. Anyone know if there is an API to detect or global variable that is set to a language?
Comments
Further more, I haven't been able to find any functionality to derive the user's locale in the NS2 Lua-files, or the Wiki (although given the state it's in, that doesn't mean a lot).
As far as retrieving which locale the user has setup, Lua's <a href="http://www.lua.org/manual/5.1/manual.html#pdf-os.setlocale" target="_blank">os.setlocale</a> can be used to derive some information in this regard.