FAF localization

Talk about general things concerning Forged Alliance Forever.

Moderators: FtXCommando, Ze Dogfather

FAF localization

Postby FunkOff » 21 Sep 2011, 18:56

Okay, I think it's time we started talking about localization. Localization is making FAF display the language of the user. Localization requires three parts to be successfully implemented:

Localization file, references, and language selection.

Language selection should be selected at install, first login, or some time early in the user experience. A common and (imo) effective method is posting numerous country flags and just lettering the user click which one they are. This input should then be logged.

By "references", I mean replacing all text in the FAF UI with pulls from the localization files. The pull will use the the language that was selected previously.

The localization file holds all the UI information. For example, "Server logs" would be held in the database as the following... if it were XML format it'd look like this:
Code: Select all
<LOCALIZATION>
<SERVERLOGTAB>
<ENGLISH>"Server logs"</ENGLISH>
<FRENCH>"Logs du serveur"</FRENCH>
</SERVERLOGTAB>
</LOCALIZATION>


Fairly basic stuff, imo, and would make FAF more approachable to those who don't speak/read english
FunkOff
Supreme Commander
 
Posts: 1863
Joined: 26 Aug 2011, 17:27
Has liked: 14 times
Been liked: 43 times
FAF User Name: FakeOff

Re: FAF localization

Postby Ze_PilOt » 21 Sep 2011, 19:17

QT has some localisation API, but it's not really a top priority now.
Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt

Re: FAF localization

Postby Unconsumeable » 21 Sep 2011, 20:24

if you want to honour GPG, you will have to use some automatic translation like google or babelfish. It was fairly irritating, but hilariously funny at the same time!
Unconsumeable
Crusader
 
Posts: 14
Joined: 10 Sep 2011, 20:32
Has liked: 0 time
Been liked: 0 time


Return to General Discussions

Who is online

Users browsing this forum: No registered users and 1 guest