Page 1 of 1

Moho internatiolization

Posted: Mon Dec 06, 2004 1:34 pm
by maxic
Hello everyone. I've got a question.
I'm trying to translate parts of Moho into Russian language via editing Moho.5.0.strings file. But as soon as I write smth in Russian there (in cp1251 charset), I get nothing readable in the menus, because ISO-8859-1 charset seems to be used there. How can I change the charset or recode my Russian strings to be shown properly? I'll be grateful for any advice.

Posted: Mon Dec 06, 2004 5:51 pm
by Lost Marble
Sorry, but Moho cannot make use of two-byte characters, so that makes it impossible to translate the Moho interface into Cyrillic characters.

Posted: Mon Dec 06, 2004 6:39 pm
by maxic
MoHo uses the font system (OS) or Built - in?

Posted: Mon Dec 06, 2004 7:15 pm
by Lost Marble
By default, Moho uses a built-in font, but can be made to use the system font, or any other font you choose.

However, this won't fix the problem. It's the way Moho's user interface library works - it won't make use of two-byte characters no matter which font is used.

Posted: Mon Dec 06, 2004 7:22 pm
by maxic
How to choose other font?


Then I could create a font in which English symbols has replaced with cyrillics.

Posted: Mon Dec 06, 2004 10:16 pm
by Lost Marble
Hmm, interesting idea. However, if you replace the english letters then any Moho tutorial or example files you open will display strange things for layer names and such.

Anyway, if you want to go ahead and try this, here's how to set the font Moho uses:

Open the file Moho.user.settings in a text editor like Notepad. On Windows, this file is located at C:\Documents and Settings\*username*\Application Data\Lost Marble\Moho\Moho.user.settings (the exact location may vary a bit depending on your version of Windows).

Add the following lines to this file:

"SmallFontSize" "8"
"LargeFontSize" "10"
"RegularFont" "times.ttf"
"BoldFont" "timesbd.ttf"
"ItalicFont" "timesi.ttf"

This is just an example - change the actual font names to the fonts you wish to use, and if you wish, adjust the font sizes as well. Good luck!

Posted: Tue Dec 07, 2004 11:23 am
by maxic
Thanks for the help. English symbols certainly should be let alone. I shall replace bad (sample - Ôàéë) on good. :D

Posted: Tue Dec 07, 2004 1:45 pm
by maxic
All works!!! :lol:
Once again many thanks!
It are necessary to transfer scripts and files of the help. Then it will be possible to write instal.exe
Image

Posted: Tue Dec 07, 2004 5:42 pm
by GusM
I would like to do the spanish translation for the Moho UI, were can I find the "Moho.5.string" file? I am on MacOsX 10.3.6, have made a system search and it doesn´t find anyone...

Thank you in advance,
Gustavo Muñoz

Posted: Tue Dec 07, 2004 6:15 pm
by maxic
Take an English file here:
http://www.lostmarble.com/moho/extras/t ... ions.shtml
And then translate. :wink:

Posted: Tue Dec 07, 2004 7:26 pm
by GusM
Thank you very much :)

Gustavo Muñoz