Deciding language codes

Discuss development of different translations here.

Deciding language codes

Postby alvinwong on Fri, 15th May 2009, 15:53

In fact, what standards are you using to name them?

I have another suggestion, that is to use the language codes in Windows Vista's and Windows 7's MUIs.
Problems, solutions, problems, solutions...
Tired on these, and trying to make openBVE train Exterior, then...
Problems... ###again### Crazy...
Please visit http://www.hochun.nets.hk/discuz/index.php
User avatar
alvinwong
 
Posts: 240
Joined: Sat, 24th Jan 2009, 05:16
Location: Hong Kong

Re: Deciding language codes

Postby Jan on Sat, 16th May 2009, 14:28

If I am not mistaken, IETF language tags are used to name the interface string files.

alvinwong wrote:I have another suggestion, that is to use the language codes in Windows Vista's and Windows 7's MUIs.

Somehow I don't see the point in doing so, as openBVE doesn't use MUI-style localisation, but anyway, as far as I can tell (I'm using XP), the language folder names of MUI applications are IETF tags, too.
So in fact, your idea is already implemented.
Jan
 
Posts: 132
Joined: Wed, 16th Apr 2008, 12:37
Location: Germany

Re: Deciding language codes

Postby michelle on Sat, 16th May 2009, 15:23

Not to mention that it is really irrelevant how the files are named. The user selects the language from a list where the name of the language appears, not the code.
User avatar
michelle
Site Admin
 
Posts: 1147
Joined: Mon, 14th Apr 2008, 20:36

Re: Deciding language codes

Postby alvinwong on Sun, 17th May 2009, 00:48

michelle wrote:Not to mention that it is really irrelevant how the files are named. The user selects the language from a list where the name of the language appears, not the code.

But I am talking about that, even when users select from the list, the languages files still need names.
Would you take the Simplified Chinese to be "asdfghjkl.cfg"?
No! You will name it as "zh-cn.cfg"!
So "zh-cn" is the language code.
Problems, solutions, problems, solutions...
Tired on these, and trying to make openBVE train Exterior, then...
Problems... ###again### Crazy...
Please visit http://www.hochun.nets.hk/discuz/index.php
User avatar
alvinwong
 
Posts: 240
Joined: Sat, 24th Jan 2009, 05:16
Location: Hong Kong


Return to Translations and Internationalization

Who is online

Users browsing this forum: No registered users and 0 guests