Localized game strings in OpenMW
Posted: 15 Aug 2011, 10:21
lgro wrote: Hi,
I have made small changes in OpenMW encoding module (ToUTF8), EFSReader, MWWorld and now OpenMW can display localized strings
There is still some minor thing with space between some characters like "i" and "?" (l with stroke)
as you can see on image above (red marked parts), but I guess it should be easy to fix.
I will push a branch called "fonts" to the github in few moments.
Switching between encoding will be available via commandline option:by default en (english) is used.
Code: Select all
lgro wrote: Branch is visible on github:
ap0 wrote: oO
lgro wrote: OK, some changes - I have added win1251 encoding (Cyrillic) and changed command line option parametes, so now it looks like that:and removed "font" branch becouse of rebasing this change to upstream/next. New branch is called fonts2
Code: Select all
--encoding arg (=win1252) Font encoding used in OpenMW game messages: win1250 - Central and Eastern European such as Polish, Czech, Slovak, Hungarian, Slovene, Bosnian, Croatian, Serbian (Latin script), Romanian and Albanian languages win1251 - Cyrillic alphabet such as Russian, Bulgarian, Serbian Cyrillic and other languages win1252 - Western European (Latin) alphabet, used by default
Zini wrote: Looks good. Funny! All the time we thought it was a font problem, while it actually was an encoding problem.
Minor issue: You call it font encoding, But I think the correct terminology is character encoding, right? The font is just the graphical representation of the characters on the screen, but what you fixed is at the esm/esp strings to utf8 conversion stage, right?
btw. this seems to address this issue: http://bugs.openmw.org/issues/3
Could someone confirm that our current font also supports Russian letters? (I guess all other languages should be covert now).
lgro wrote:Yes, you're right - I will correct it in next commit.Zini wrote:Looks good. Funny! All the time we thought it was a font problem, while it actually was an encoding problem.
Minor issue: You call it font encoding, But I think the correct terminology is character encoding, right?
I will reassign to myself it if you don't mind.btw. this seems to address this issue: http://bugs.openmw.org/issues/3
Zini wrote: Sure. But I would like a confirmation that the Russian letters are in our font, before we close it.
lgro wrote:Sure, no problem.Zini wrote:Sure. But I would like a confirmation that the Russian letters are in our font, before we close it.
K1ll wrote: Windows 1250 is also used for german characters and i can confirm that they work.
Star-Demon wrote: Great work!
Zini wrote: *push*
Anyone? Building my next branch should offer an easy way to test (if you can build OpenMW).But I would like a confirmation that the Russian letters are in our font,
scone wrote: Hello!
I can confirm that russian letters works now in the -next branch
Zini wrote: Great! Thank you.