Add A Proper Translation Support

Registered by Mustafa Alperen SEKÄ°

I have been working on translations for a while, that would be cool if there will be a proper language support instead of doing them hackily. Currently there are problems with them:

1-Arabic Support including Right to Left and Positions of letter.
2-True Type or another better than current Font support, rather than games FNT files. Even i can edit FNTs i'm not happy with them.
3-A way to change languages ingame. Requirement of restart wouldn't be a problem. A dropdown menu on main options page should be OK.
4-Ini Coding. Possibly in own ini but uimd may do it too.
Here is some things about ini:
Rules:
[General]
SupportLanguages=yes

UI or Special Ini
[Languages]
0=English
1=Arabic
2=Turkish
3=German

[English]
UIName:LANG:ENG
Mixes=Langmd, Language ;For Cameos and Sounds.
Csf=RA2MD.csf
IsArabic=no ;Special handling for Arabic.
Font=Game.FNT
IsFontFNT=yes ; Maybe it should detect itself.

[Arabic]
UIName=LANG:AR
Mixes=Langar
Csf=RA2AR.csf
IsArabic=yes
Font=Arabic.TTF
IsFontFNT=no
.
.
.

XCC may cause problems with Arabic too but it is not your problem. I hope i can write arabic in it. Haven't tried yet.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Mustafa Alperen SEKÄ°
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Internationalization is a complicated matter. Adding support to a system that, as far as I can see, only supports rudimentary localization is a big undertaking.

Making the UI provide language settings would be the easiest part, but properly supporting LTR and RTL languages, with full support for languages with lots of diacritics, letters connecting to each other and so on would require a completely new font engine, which then would have to be used everywhere (either by making it backwards compatible with the original functions in some way or by replacing every text rendering with new code). This only solves half the problem though: The UI would have to be changed (SW Timers, Message list), as well as flipping all dialogs' controls. And the controls itself, so option and check boxes have the check on the left side, not the right, for example. (It's still not where it ends to support RTL languages fully, though: New loading screens and so on would have to be created, mirroring the current ones.)

Too big change for me. -AlexB

I can understand that, i just want to be sure that i'm not doing the Crowdin translations for nothing. I have no hurry with that, translations are far from being completed. If we do that i wouldn't be the only thing that we complately rewrote, but this is really bigger than others, i can see. That wouod be cool if you start with ingame language option. But as i said no need to hurry, i couldn't even put all strings on crowdin to translate. -MustaphaTR

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.