Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author codestyling

    (@codestyling)

    This is a known problem since 3.5 version of WordPress.
    The packaged themes like twenty (ten|eleven|twelfe) have had their own language folder but there is only the *.pot file (translation template). The real files are located at the folder you mentioned above.
    Unfortunately my plugin is not aware of this fact and only inspects the themes language folder for existing theme translation. And there are none.

    This will be changed within version 2.0 of my plugin. This version will support this kind of “re-routed” language file folders. The current work arround is to move (or copy) the files into the themes language folder but have to be renamed too (locale.mo).

    This behavoir introduced with WP 3.5 should avoid the overwrite of existing translations. In my opinion this is a first step in right direction but not the full goal as I would expect it. What’s about multisite installation, where several sub blog owner need to have their special own modification of the same language file?
    This is currently not covered but will be with my new 2.0 version of my plugin.

    Thatswhy I do not spend more power into 1.x versions (except bugfixing) and I’m working focused on 2.0 which will require at least 3.5 WordPress to be usable.

    Hi!

    Could you please explain in more detail the workaround you mention? Which files do I need to copy and rename?

    Thank you!

    Plugin Author codestyling

    (@codestyling)

    As example let’s take twenty twelfe Theme.
    The language files will be installed since WP 3.5 at:

    wp-content\languages\themes\twentytwelve-de_DE.mo
    wp-content\languages\themes\twentytwelve-de_DE.po

    Please copy and rename this 2 files to:

    wp-content\themes\twentytwelve\languages\de_DE.mo
    wp-content\themes\twentytwelve\languages\de_DE.po

    Afterwards my plugin is able to detect the languages and you can modify them.

    Thank you very much!

    Hi, I have just installed this plugin and it’s not working on Twenty Eleven. I would like to change it to Brazilian Portuguese. I did some translations and generated the .mo .po files and they’re already at:

    wp-content\themes\twentytwelve\languages\pt_BR.mo
    wp-content\themes\twentytwelve\languages\pt_BR.po

    There’s also another file (original from the template) called twentyeleven.pot.

    I have refreshed the page and it’s still all in English. I noticed there’s no “Posted on” to be translated and there isn’t also the terms from the side bar like “categories, recent posts, recent coments etc.”

    Any help will be much appreciated!

    I use wordpress 3.5.2, child of twenty twelve theme

    It worked for me to copy these files
    wp-content/languages/nl_NL.mo
    wp-content/languages/nl_NL.po
    (italic: choose the language which you prefer)

    into the languages folder of my theme (not the child theme) and give them another name:
    wp-content/themes/twentytwelve/languages/twentytwelve-nl_NL.mo
    wp-content/themes/twentytwelve/languages/twentytwelve-nl_NL.po

    and then upload them

    then remove the file called twentytwelve.po inside the wp-content/themes/twentytwelve/languages/ folder or if you don’t dare: put an – before the name

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Doesn't seem to detect twenty[ten|eleven].[p|m]o files’ is closed to new replies.