Urdu translation testing

Everything related to VLC media player translations: new translations, corrections, ...
huda
New Cone
New Cone
Posts: 1
Joined: 19 Feb 2007 06:15

Urdu translation testing

Postby huda » 19 Feb 2007 06:24

Hi,
I received a .po file for Urdu a few days ago from the vlc-devel list, but I cannot figure out how to test it.

I'm using poEdit on Windows XP.

This is what I've done:

I saved the .po file and poEdit generated a .mo file. I renamed it to vlc.mo, made a folder named 'ur' in VideoLAN\VLC\locale where I have VLC player 0.8.6a installed and tried to see if Urdu had come up as an option in Settings->Preferences->Interface->Language, and it hadn't.

My questions are:

Am I testing it with the wrong version?

Do I need to compile the source along with the .mo file to enable VLC player to recognize my language? If yes, then do I need to rebuild it every time I update the .po and .mo file? If I need to rebuild it every time then I should figure out how to do it myself, I found instructions here: http://wiki.videolan.org/Win32CompileCygwin

What is the recommended way to do this? I would like to have a VLC installer which has Urdu as a language option when the translations are complete. I tried to look for localization guidelines but this was all I could find: http://www.videolan.org/developers/i18n/vlc-howto.html

I posted this to the list as well but have not received a reply yet, can someone please let me know how I can use an .mo file.

Huda.

alanro
New Cone
New Cone
Posts: 1
Joined: 01 Apr 2007 16:07
Contact:

Postby alanro » 15 May 2007 09:50

As I know, you need update the .po and .mo file, you can rebuild the .mo files, then update.

good luck.

ipkiss
Big Cone-huna
Big Cone-huna
Posts: 695
Joined: 23 Nov 2003 01:49

Postby ipkiss » 23 May 2007 21:22

The list of available translations is harcoded in a sourcce file (src/libvlc-module.c), so to test your translation you need to change this file and rebuild VLC.

If i were you, I wouldn't try dealing with the installer: generating an installer is not easy, and you don't need it to change the language (just change it in the preferences, and restart VLC). After you have sent your translations (and if there is a "reasonable amount" of translated strings), developers will take care of adding Urdu in the official builds, including the installer.

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Postby xtophe » 25 May 2007 20:04

The easiest is that you send me your translations (or put it somewhere online) so i can put it in svn and so the nightly build (nightlies.videolan.org) will have your translations
Xtophe

secarica
Blank Cone
Blank Cone
Posts: 95
Joined: 25 Oct 2005 00:27
Location: Romania, Earth
Contact:

Postby secarica » 25 May 2007 22:34

so to test your translation you need to change this file and rebuild VLC.
Just for testing purpose, you can build the .mo file with poEdit (for example) and if your language is not (yet) listed in the program preferences you can replace the .mo file of an unused language, then switch to that language.

Cristi
... I think it's too hard to think


Return to “VLC media player Translations”

Who is online

Users browsing this forum: No registered users and 16 guests