Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Michal Koblasa 45 posts 139 karma points
    Jul 08, 2015 @ 21:55
    Michal Koblasa
    0

    Translation - custom section

    Hello, i would like to use translation mechanism described here: https://github.com/umbraco/Umbraco-CMS/pull/533 based on: http://issues.umbraco.org/issue/U4-5777

    I created in /app_plugins/[my-plugin]/Lang/cs.xml and content is similar to sample. Im using umbraco 7.2.6 version and my language words are not translating.

    Is it working this method for your plugins/sections? Any idea?

    Thank you M.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jul 09, 2015 @ 04:38
    Jan Skovgaard
    1

    Hi Michal

    Unless you have merged in the pull request into your own install of 7.2.6 it will not work - It's only available in the release of 7.3.0, which it also says on the issue.

    However if you have been doing a custom build og 7.2.6 and have merged in the PR I think that your naming of the file is wrong.

    Shannon writes that the name format for the file must be "languagecode-regioncode" - So in your case I think it should be named cs-cz.xml

    Hope this helps :)

    /Jan

  • Michal Koblasa 45 posts 139 karma points
    Jul 09, 2015 @ 05:31
    Michal Koblasa
    0

    Hello,

    Thank you for explaining situation with merging pull request. I did not understand if it was merged or still waiting, because it was marked for 7.2.0 and then for 7.3.0. but i like this feature, so i hoped it will work :-).

    ...actually i tried both combinations: cs-CZ.xml and cs.xml

    Thank you for explaining, now its clear.

Please Sign in or register to post replies

Write your reply to:

Draft