Translation system of SRO

02/27/2020 21:39 Clubbby#1
Hello,

I'm interested in how SRO manages its translations. Since the clients are multilanguage they must have some kind of translation system. Are there any informations about how to fix wrong translations or add a whole new client language?
02/27/2020 21:56 florian0#2
Quote:
Originally Posted by Clubbby View Post
Hello,

I'm interested in how SRO manages its translations. Since the clients are multilanguage they must have some kind of translation system. Are there any informations about how to fix wrong translations or add a whole new client language?
The translation files are in Media.pk2/server_dep/<content_name>/textdata/text*.txt

The format is easy to understand, its a form of CSV (comma separated values) with TAB as the separator character. You can open them with Notepad or a Spreadsheet program of your choice (MS Excel, LibreOffice Calc, Google Spreadsheets).

Each row is an entry to translate. One of the first columns contains a word that is used as a placeholder. UIIT_MY_INTERFACE_TEXT for example. The following columns contain translations for all supported languages. Each column corresponds to one language.

I'm not sure if adding a new language is easily possible. It might be easier to throw out an existing language and reuse the column for something else.
02/27/2020 23:03 Clubbby#3
Quote:
Originally Posted by florian0 View Post
The translation files are in Media.pk2/server_dep/<content_name>/textdata/text*.txt

The format is easy to understand, its a form of CSV (comma separated values) with TAB as the separator character. You can open them with Notepad or a Spreadsheet program of your choice (MS Excel, LibreOffice Calc, Google Spreadsheets).

Each row is an entry to translate. One of the first columns contains a word that is used as a placeholder. UIIT_MY_INTERFACE_TEXT for example. The following columns contain translations for all supported languages. Each column corresponds to one language.

I'm not sure if adding a new language is easily possible. It might be easier to throw out an existing language and reuse the column for something else.
Once more a top answer! Thank you!
02/28/2020 11:24 janicka#4
I think in sro client is language flag...

[Only registered and activated users can see links. Click Here To Register...]
Look at this very old thread.
02/28/2020 13:58 sarkoplata#5
Quote:
Originally Posted by janicka View Post
I think in sro client is language flag...

[Only registered and activated users can see links. Click Here To Register...]
Look at this very old thread.
Getting help from here I was able to change the tab sro_client uses in textuisystem. It should definetely be possible to create something like a language selector. Editing one of the existing tabs of course, adding a new one I don't know about that.
02/28/2020 20:01 DaxterSoul#6
That's what the Language field and in some clients the LanguageTabIndex field from type.txt are for. Unfortunately changing the Language from "Vietnam" to "English" will also change the SR_GAME_READY MsgID from 0x3012 to 0x3014 which is not valid in the SR_GameServer.
03/16/2020 00:36 gigola123#7
Hello, sorry for bumping this thread. I've some jmx files, if you want to see how joymax handle their ".txt" here their real excel file.

[Only registered and activated users can see links. Click Here To Register...]

There is also a macro on the file (password: 169841).

Here is the TextUISystem