Topic: Translation Issue

Hello,

There seems to be an issue when translating. Some text is not changing.

For example - In Global Configuration > YUI  > I translated all the config files strings, all 177 of them and for some reason half of the text in the YUI tab will not change into Spanish. I saved, I updated but it won't change. View below and you'll see what I mean.

MiaCMS makes use of the Yahoo User Interface (YUI) Library. MiaCMS supports a number of options for loading the YUI Library. Each comes with its own set of considerations. MiaCMS makes changing between these options as simple as selecting them in the drop down below.

    * Instalación Local (JavaScript Estándar) - Archivos JavaScript en bruto que no hallan sido minimizados o comprimidos. Es útil para el desarrollo y/o la depuración mas que todo.
    * Instalación Local con Minimización - Esta es la configuración predeterminada de MiaCMS. Ofrece mejor rendimiento y una compatibilidad fuerte.
    * Serve From Yahoo Hosting Service - Users have the option to serve the YUI files directly from Yahoo's free YUI hosting service. Yahoo! hosting is optimized for fast response times, good cache hit rates, and the use of gzip compression during HTTP transport. If you chose to utilize the Yahoo! hosting service make sure you have read and understood their terms of service first - http://developer.yahoo.com/yui/articles/hosting.

Performance differences are easier to spot when working from a remote server versus a

There's also other places where semi-colons, periods, etc are not appearing.

I'm using your 4.8 Beta

Any ideas? Thx

Last edited by hazman (2008-12-08 10:19:11)

Re: Translation Issue

looking at it Haz, let me reproduce and report back..

Re: Translation Issue

Hi Haz,

Thanks for the bug report.

This is fixed in the latest SVN: basically the changes were logged here for your reference: http://code.google.com/p/miacms/source/detail?r=472 and http://code.google.com/p/miacms/source/detail?r=473

Additionally, you may want to manually edit /languages/{YOUR_LANG_FOLDER}/config.po and include the following lines just after line 642:

#: administrator/components/com_config/admin.config.html.php:570
msgid ""
"MiaCMS makes use of the Yahoo User Interface (YUI) Library. MiaCMS supports "
"a number of options for loading the YUI Library. Each comes with its own set "
"of considerations. MiaCMS makes changing between these options as simple as "
"selecting them in the drop down below."
msgstr ""

msgid ""
"<strong>Serve From Yahoo Hosting Service</strong> - Users have the option to "
"serve the YUI files directly from Yahoo's free YUI hosting service. Yahoo! "
"hosting is optimized for fast response times, good cache hit rates, and the "
"use of gzip compression during HTTP transport. If you chose to utilize the "
"Yahoo! hosting service <strong>make sure you have read and understood</"
"strong> their terms of service first - <a href=\"http://developer.yahoo.com/"
"yui/articles/hosting/\" target=\"_blank\">http://developer.yahoo.com/yui/"
"articles/hosting</a>."
msgstr ""

msgid ""
"Performance differences are easier to spot when working from a remote server "
"versus a localhost development site. For more information on these "
"performance considerations please review the following <a target=\"_blank\" "
"href=\"http://developer.yahoo.com/performance/rules.html\">article</a>."
msgstr ""

And you should be able to translate the strings from the backend, make sure to update them as necessary using the Language Manager (Update Button).

I will have to check further for the missing semicolons etc..

Oh and by the way, the two causes of this issue were:

1.) Phrase 1 "MiaCMS makes use.." string is not within T_()
2.) Phrase 2 and 3 contains tab "\t\t \r" which xgettext had some issues translating in the generation of the pot file.

Re: Translation Issue

Hi Arpee,

It's all good now, it's translating - Thankx!

One thing tho, I ended up with 177 strings in my config.po and you have 178

<filename domain="config" strings="178" translated="0" fuzzy="0" percent="0" filetype="po">language/en/config.po</filename>

The above I took from here - http://code.google.com/p/miacms/source/detail?r=474

Could you confirm, maybe I deleted one somewhere.