Russian language in Virtualmin

14 posts / 0 new
Last post
#1 Mon, 06/29/2009 - 07:20
weare

Russian language in Virtualmin

Hello!

Russian is pretty good in Webmin, but how to translate interface of Virtualmin in russian is a question.

Please, if somebody know, what is a solution.

Is it possible in general?

Mon, 06/29/2009 - 10:56
weare

I know that language configurations files is located in every dir like:

/usr/libexec/webmin/virtualmin-*/lang/

Editing the "en" file is take a reacton immediately.

But when I changing a copy of "en" named as "ru" nothing happens, why so?

May be a switch is needed to be turned "on"?

Mon, 06/29/2009 - 11:01
andreychek

Howdy,

Those are all excellent questions ;-)

While I don't know how that would work -- I asked Joe and Jamie if one of them could offer some input on that.

They're just waking up (on the west coast of the US), but they should be able to help here shortly!

-Eric

Mon, 06/29/2009 - 13:02
Joe
Joe's picture

You may need to restart Webmin for it to recognize that new files exist. That's just a guess, but worth a try. I do know that Webmin in a default Virtualmin install does quite a bit of pre-caching of libraries and files for performance reasons. ;-)

Have you seen the documentation about translating Webmin modules? Virtualmin is a Webmin module, so all the same stuff applies. You can find that here:

http://doxfer.webmin.com/Webmin/TranslatingWebmin

Also note that we love translations. We're always happy to answer any questions you have, and we definitely want to see the results of your efforts (send them along to Jamie at translations@webmin.com).

--

Check out the forum guidelines!

Mon, 06/29/2009 - 13:59
JamieCameron

The files for Russian are actually named ru_RU or ru_SU, for the two different encodings that exist (windows-1251 and koi8-r). If you want to make a Russian translation, copy the lang/en file to lang/ru_RU, switch your language to Russian CP1251, edit the lang/ru_RU file, and you should see the changes.

Actually, copying the en file isn't really a good idea. Instead, it is better to just add the lines for text you have translated. Webmin will fall back to English if a string is not in the ru_RU file.

''

Mon, 06/29/2009 - 20:58
weare

It's early morning, but tonight I'll try your tips.

When my translation will completed, I'll publish it on my homepage.

Joint work hard to improve translation lets do it perfect, I supose.

Just one last question, I prefer utf8, what is a file name needed to be used?

Thanks!

Tue, 06/30/2009 - 01:29
JamieCameron

There's no need to do UTF-8 actually .. if you create the ru_SU files and then send them to me, I have a script that will automatically generate UTF-8 versions, for inclusion in the next Webmin and Virtualmin releases.

If you want to create UTF-8 manually, the filename is ru.UTF-8

''

Tue, 06/30/2009 - 02:34 (Reply to #7)
weare

I'm using an OS that UTF8 is default.

Surely I'll send to you my translation if my authorship will saved (name, e-mail and home page).

You do not mind?

Tue, 06/30/2009 - 09:15 (Reply to #8)
JamieCameron

Sure, I will mention you by name in the credits for the new release ..

''

Tue, 06/30/2009 - 08:01 (Reply to #9)
weare

It's really work! My work has been started!

Sun, 07/12/2009 - 02:14
weare

Hi All!

I have already translated interface for some modules, and now seeking a way to make translation
less difficult.

I mean that module "virtual-server/lang" (for example) alredy translated, but it have many mistakes, though in general it not bad.

I think about to correct it and seeking a program that can add in old file new strings.

What program would you recommend to edit old translation.

P.S. My OS is a Linux.

Sun, 07/12/2009 - 02:59 (Reply to #11)
JamieCameron

One tool that many people fine useful is wbmtranslator - have a look at : http://wbmtranslator.labs.libre-entreprise.org/

''

Tue, 07/14/2009 - 00:18 (Reply to #12)
weare

Thanks for your link.

I has dounloaded stable version in "Files" menu, bun what is it?

How can I use it after exstracting in Webmin dir?

Sun, 07/12/2009 - 02:56
weare

I started to discuss the translation for Russian-speaking users on this website ... And first results :

http://www.oslinux.ru/node/557

Welcome

Topic locked