eZ Community » Forums » Translation » Finnish » Issue with translation comments
expandshrink

Issue with translation comments

Issue with translation comments

Friday 19 August 2011 3:02:03 pm - 3 replies

Hello!

Our client is running a multi-lingual site and we're experiencing this with the finnish siteaccess only.

The login buttons value is marked up like this:

 {'Login'|i18n('design/ezwebin/user/login','Button')}

And the value displays as expected when translated in every language except finnish, where the value of the button is "Login <linebreak> Button":

Kirjaudu sisään
Nappi

What's causing this?

Friday 19 August 2011 5:26:08 pm

have you checked the .ts file?

Monday 22 August 2011 3:22:43 pm

Hi André,

Yeah, the translation file should be correct. We also have an issue (in the same template) where the translation for "Username" is printed twice. I've included both translations from my_extension/translations/fin-FI/translation.ts:

 <context>
    <name>design/ezwebin/user/login</name>
    <message>
        <source>Username</source>
        <comment>User name</comment>
        <translation>Käyttäjänimi</translation>
    </message>
    <message>
        <source>Login</source>
        <comment>Button</comment>
        <translation>Kirjaudu sisään</translation>
    </message>
</context>

Modified on Monday 22 August 2011 3:23:54 pm by Helge Silset

Friday 16 September 2011 4:06:28 am

The reply has been removed because of violation of forum rules.

expandshrink

You must be logged in to post messages in this topic!

Proudly Developed with from