cdda-itembrowser
cdda-itembrowser copied to clipboard
Is it possible to change language of the database?
Hello!
Is it possible to change language of the database? For example we have a client with russian language.Can i somehow make this item database with russian names, descriptions and etc...?
Anyone? Is it possible to parse language files so that database could be translated automatically?
Hello, sorry I hadn't responded.
I don't know how the game currently handles internationalization, I only read the json files directly and it only has english strings there, if there are extra language files to translate these english strings, we would have to add extra code to match these translations.
Language files are located here - https://github.com/CleverRaven/Cataclysm-DDA/blob/master/lang/po/ Is it possible to do anything with them?
Interesting, while it is certainly possible to use those gettext translation files, a considerable amount of work is needed to update the item browser to translate all the strings, additionally we might also want to use standard translatable strings for the static text.
On top of that, we would want to add a "language" option to the web interface, to the visitors can switch to the desired language.
This is definitely something that would be great on the item browser, but I don't think I have the time to write this right now.