linphone-developers
[Top][All Lists]
Advanced

[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

Hi!

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 liphone.mo 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 linphone.mo 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!

Best,
Álvaro.




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 linphone.mo.
>> 
>> Look up where a linphone.mo file is presented somewhere
>> under ../locale/es/LC_MESSAGES/ and replace that linphone.mo 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 --output-file=FILE.mo
>>>> 
>>>> 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 gtk20.mo
>>> file:
>>> 
>>> $ sudo msgfmt es.po --output-file=gtk20.mo
>>> 
>>> 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 gtk20.mo 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: gtk20-properties.mo. I have no idea what this
>>> file does or how it is generated.
>>> 
>>> Any ideas?
>>> 
>>> Thanks,
>>> Álvaro.
>>> 
>>> 
>>> 
>> 
>> 
> 
> 
> -- 
> Proper English www.reddit.com/r/proper
> 4 teh lulz... http://email.is-not-s.ms
> 
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/linphone-developers




reply via email to

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