Genesis Translations

This topic is: not a support question

This topic contains 30 replies, has 15 voices, and was last updated by  alexshenkar 2 months, 1 week ago.

Viewing 15 posts - 1 through 15 (of 31 total)
  • Author
    Posts
  • #3537

    Remkus de Vries
    Moderator
    Post count: 25

    Hi there!

    For a while now we have been working with GlotPress to translate Genesis into the various languages out there. These translations would not have been there if not for the help of all the volunteers out there.

    How can I get my translation files?
    Good question, glad you asked  We have a few options for you.

    Use the Genesis Translations plugin
    An alternative option is to you my Genesis Translations plugin. Installing this plugin will take away all the steps mentioned above and will leave you with an easy way to translate your Genesis installation. But hey, what if my translation is not available on http://translate.studiopress.com/? Again, glad you asked  You would still have to register on our translations site ( you can do that here ) and you can contact me afterwards so I can add your language to the specific project.

    Download them from directly
    Via http://translate.studiopress.com/ you are able to download your translation files, though you have to be registered on our translation site to actually download them. You can do that here:http://translate.studiopress.com/home/ Next you should navigate to project you need translated and when you have found that page you will see on the bottom left a link that will allow you to export the translation files. Mind you, you need both the .po and the .mo files. After you have downloaded those two files you have to to one additional thing and this is important, you have to rename them to your language setting. The same settings you have in your wp-config.php file. For example, if you would like to use the Dutch translation files, you would export the .po and the .mo files. When downloaded those files will have the following name: genesis-framework-genesis-18-nl.po and genesis-framework-genesis-18-nl.mo.

    You will have to rename those files to reflect the language code in your wp-config.php file. This would mean I would have to rename those files – as the Dutch language code is nl_NL – to nl_NL.po and nl_NL.mo. After having renamed those files, you need to upload those files to the following folder:
    /wp-content/themes/genesis/lib/languages/

    That’s it. These files will be deleted each time you update Genesis though. If you’d like to maintain translation files to stay intact after updating, there is a tutorial how to fix that: http://remkusdevries.com/maintain-translation-upgrade/


    More about me: ForSite Media | Remkus de Vries.

    Genesis Plugins: Genesis Translations | Genesis Toolbar+ | Genesis Prose Exporter
    Make the CSS editing part of your life easier for yourself – use Google Chrome and its Developers Tools.

    • This topic was modified 1 year, 10 months ago by  Remkus de Vries.
    • This topic was modified 1 year, 10 months ago by  Remkus de Vries.
    • This topic was modified 1 year, 10 months ago by  Remkus de Vries. Reason: formatting
    • This topic was modified 1 year, 10 months ago by  Remkus de Vries. Reason: Formatting
    • This topic was modified 1 year, 10 months ago by  Remkus de Vries. Reason: Moar formatting. Sigh
    • This topic was modified 1 year, 10 months ago by  Remkus de Vries.
    • This topic was modified 1 year, 10 months ago by  Remkus de Vries.
    • This topic was modified 1 year, 10 months ago by  Remkus de Vries. Reason: formatting
    • This topic was modified 1 year, 10 months ago by  Remkus de Vries. Reason: Formatting
    • This topic was modified 1 year, 10 months ago by  Remkus de Vries. Reason: Moar formatting. Sigh
    #3603

    Grégoire Noyelle
    Participant
    Post count: 38

    Hi Remkus

    Before I have an GlotPress account. Did you keep it?
    When I use the same credential, it stop working

    Thanks

    Grégoire

    #3607

    Remkus de Vries
    Moderator
    Post count: 25

    Something went wrong in the migration I guess. I’ve notified the SP folks so I’m hoping for a speedy fix :)


    More about me: ForSite Media | Remkus de Vries.

    Genesis Plugins: Genesis Translations | Genesis Toolbar+ | Genesis Prose Exporter
    Make the CSS editing part of your life easier for yourself – use Google Chrome and its Developers Tools.

    #29949

    ERRETRE
    Participant
    Post count: 1
    This reply has been marked as private.
    #55124

    rednet
    Participant
    Post count: 1

    Dear Friend,

    I’ve problem to translate the “Search Form Box” in the Serenity Theme,

    I’ve these:

    - WordPress 3.6
    - Serenity Child Theme 1.0.2
    - Genesis Framework 1.9.2

    When I had the Genesis version 1.8.1 search box was perfectly translated into Spanish and when I update the version of genesis, that translation disappeared, and now is in English.

    How do I translate that?

    Regards,

    #59533

    studio154
    Participant
    Post count: 1

    Hi everybody,
    can you help me to find Premise italian translation?
    Is there something that permit me to do this?

    many thanks


    #64299

    lucaslem
    Participant
    Post count: 88

    Hello,

    I am using your plugin with great success on a multisite install (main site = eng, sub-site = french).

    I have changed the “read more” for excerpts and while it works in english, I cannot get it to display in french. Here is my code. Any advice would be welcome. Thanks!

    //* Changing excerpt more - display where "read more tag" is used.
    add_filter('excerpt_more', 'auto_excerpt_more');
    function auto_excerpt_more($more) {
        if ( 'fr_FR' == $language ) {
            return '&hellip; <a href="'.get_permalink().'" rel="nofollow">Lire</a>';
        }
        else {
            return '&hellip; <a href="'.get_permalink().'" rel="nofollow">Read</a>';
        }
    }
    • This reply was modified 1 year, 1 month ago by  lucaslem.
    • This reply was modified 1 year, 1 month ago by  lucaslem.
    #64301

    Remkus de Vries
    Moderator
    Post count: 25

    You can’t check for a variable to be true if you’re not loading that variable inside your function. But apart from that, I don’t think this is the best way to do this. I believe this should be solved by using proper translation files. Either way, it’s outside of the scope of my plugin :)


    More about me: ForSite Media | Remkus de Vries.

    Genesis Plugins: Genesis Translations | Genesis Toolbar+ | Genesis Prose Exporter
    Make the CSS editing part of your life easier for yourself – use Google Chrome and its Developers Tools.

    #64302

    lucaslem
    Participant
    Post count: 88

    Thanks Remkus. I suppose you mean I should create a language file for my child theme. Can you point me in the direction of a tutorial for creating such files? I am using the CodeStyling Localization plugin but I can’t find the info. Thanks.

    #65591

    lucaslem
    Participant
    Post count: 88

    Hi again Remkus,

    I have followed your advice and am trying to do this using “proper translation files”. I have followed your instructions here (so that I don’t lose translations in future) and have both the .po and .mo file in my child theme folder.

    I have some text inside custom call-to-action buttons which I need to translate. My hope was that I would be able to add custom strings to the .po file but it does not seem possible. Any ideas how I might go about adding a few strings to my .po file and then regenerating an .mo from that? Or do I need to create an entirely separate file? If so, do I just dump them in the same languages folder? Any advice or links to any tutorials would be appreciated.

    #65598

    lucaslem
    Participant
    Post count: 88

    Never mind, I found the solution by downloading the Genesis translation files for the main translation work and then using load_child_theme_textdomain() for my child theme strings. This post was a huge help in figuring out how to bring it altogether.

    Thanks!

    #71680

    dnjeel
    Member
    Post count: 3

    Hi Remkus,

    Thanks for the translate plugin! I wonder if it would be possible that all child themes have one combined language file per language? Now every child theme has it own translation, but I guess that 95% of all strings that needs to be translated are the same in every child theme, if we merge them to one file per language it would be faster to translate all themes.

    What do you think guys?

    #71696

    Remkus de Vries
    Moderator
    Post count: 25

    Ultimately that’s not up to me. I don’t build the themes here, so that’s something the StudioPress team could consider. Best to send them a ticket and request this.


    More about me: ForSite Media | Remkus de Vries.

    Genesis Plugins: Genesis Translations | Genesis Toolbar+ | Genesis Prose Exporter
    Make the CSS editing part of your life easier for yourself – use Google Chrome and its Developers Tools.

    #73979

    dnjeel
    Member
    Post count: 3

    Remkus,

    Can you add the Eleven40 theme and the genesis-sample theme to the child theme translations for Swedish language?

    Thanks!

    #73981

    Remkus de Vries
    Moderator
    Post count: 25

    Done. Though the Genesis Sample Theme doesn’t have any text strings and works right out of the box with just the Genesis Translations plugin.


    More about me: ForSite Media | Remkus de Vries.

    Genesis Plugins: Genesis Translations | Genesis Toolbar+ | Genesis Prose Exporter
    Make the CSS editing part of your life easier for yourself – use Google Chrome and its Developers Tools.

Viewing 15 posts - 1 through 15 (of 31 total)

You must be logged in to reply to this topic.