Author Topic: How does Localization work?  (Read 1381 times)

0 Members and 1 Guest are viewing this topic.

Offline Kiloku

  • 27
  • Buzzbuzz!
How does Localization work?
I saw that there is some code for localization in the Source Code, but I didn't get deep into it. Is there an easy way to create new language options? I'm one of the volunteers who translate Valve's games and Steam, so I'd definitely like to take a look into that.
Potato!

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: How does Localization work?
Basically the game looks at two table files. strings.tbl and tstrings.tbl. If those contain a language it supports, the XSTR system is used to translate that particular string. I've been meaning to add support for Spanish for a while now actually since I actually have a table to support that. I've not looked in too much detail what that requires but as far as I can see, not that much.

 If you're interested in translating the game, which languages were you thinking of adding?
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline An4ximandros

  • 210
  • Transabyssal metastatic event
Re: How does Localization work?
Given his signature, I'm inclined to say Portuguese. I'd volunteer for a Spanish translation myself if it ever becomes possible.

  

Offline Kiloku

  • 27
  • Buzzbuzz!
Re: How does Localization work?
To be specific, Brazilian Portuguese, as there are large differences between this and Portugal's Portuguese.
Potato!