[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Spanish translation

From: Álvaro Serrano
Subject: Re: [Linphone-developers] Spanish translation
Date: Mon, 25 Feb 2013 16:44:59 +0100


Thanks! It took me this long to try your advice because I broke the entire GTK 
installation while I was trying to fix the translation issue and I've had to 
reinstall everything from scratch, which has been a nightmare.

Anyway, you were correct, thanks! Once I generated the new file and 
copied it into opt/local/share/locale/es/LC_MESSAGES the translation showed up 
nicely on screen.

However, I generated a new bundle with gtk-mac-bundler and the translation 
didn't work. I checked and the file is  not included in the bundle 
by the bundling script. I manually copied it into the bundle in 
/Contents/Resources/share/locale/es/LC_MESSAGES and that fixed the issue. 
Still, I would like to modify the bundling script to make sure that the new 
translations are included in the bundle by default.

I'm going to look into it, if anyone knows how to do that, please let me know.

Thanks again!


El 19/02/2013, a las 09:28, Genghis Khan <address@hidden> escribió:

> On Tue, 19 Feb 2013 09:10:38 +0100
> "Genghis Khan" <address@hidden> wrote:
>> Hello,
>> You are welcome! I am glad I was helpful at some part.
>> This is not a translation of GTK+, so you probably browsed at wrong
>> directories.
>> * I assume you will find the relevant file under ../linphone/
>> directory.
> Somewhere under a directory under ../linphone/ directory.
>> * Do not look for anything under ../bin/ directory, I think.
>> I guess you need to (re)name the MO file to
>> Look up where a file is presented somewhere
>> under ../locale/es/LC_MESSAGES/ and replace that with
>> yours.
>> Switch at: Options/Preferences/User Interface/Language/es: Spanish
>> On Mon, 18 Feb 2013 17:17:38 +0100
>> Álvaro Serrano <address@hidden> wrote:
>>> Hello and thanks for the answer! 
>>> It appears you were correct and the file format wasn't encoding the
>>> characters as UTF-8 by default. I have used another application to
>>> edit it and now I can build the app using the new file without
>>> getting any errors. Attached is the new file which should work fine.
>>> Let me know if there are any issues.
>>> However I still cannot make my app display the new language. I tried
>>> your instructions:
>>>> Compile your .po to .mo separately with this command:
>>>> $ msgfmt FILE.po
>>>> Look up for a directory where the Spanish .mo file is located at
>>>> your system (after LinPhone is installed) and replace it with
>>>> yours.
>>> I used that command and my es.po file to create a Spanish
>>> file:
>>> $ sudo msgfmt es.po
>>> I then copied it over to the bundled app, in
>>> Contents/Resources/share/locale/es
>>> However when I try to run it the language is still English. I
>>> figured the issue may be occurring only in the bundled app and
>>> perhaps the local installation would work, so I copied and
>>> replaced the one in opt/local/share/locale/es
>>> When I run the locally installed app I get the following message in
>>> terminal:
>>> $ /opt/local/bin/linphone ; exit;
>>> ** Message: Found lang es
>>> (process:87978): Gtk-WARNING **: Locale not supported by C library.
>>> Using the fallback 'C' locale.
>>> And the displayed language is then English, of course. 
>>> One more thing: I have noticed that inside opt/local/share/locale/es
>>> there is another file: I have no idea what this
>>> file does or how it is generated.
>>> Any ideas?
>>> Thanks,
>>> Álvaro.
> -- 
> Proper English
> 4 teh lulz...
> _______________________________________________
> Linphone-developers mailing list
> address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]