• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Genesis Translations

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Internationalization and Translations › Genesis Translations

This topic is: not a support question

Tagged: custom translation, genesis sample, translation

  • This topic has 42 replies, 2 voices, and was last updated 1 week, 2 days ago by kinza01.
Viewing 20 posts - 1 through 20 (of 43 total)
1 2 3 →
  • Author
    Posts
  • December 6, 2012 at 2:33 am #3537
    Remkus de Vries
    Member

    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/


    Translate the Genesis Framework with the Genesis Translations plugin.

    December 6, 2012 at 11:34 am #3603
    Grégoire Noyelle
    Member

    Hi Remkus

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

    Thanks

    Grégoire

    December 6, 2012 at 11:43 am #3607
    Remkus de Vries
    Member

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


    Translate the Genesis Framework with the Genesis Translations plugin.

    March 21, 2013 at 8:44 am #29949
    ERRETRE
    Member
    This reply has been marked as private.
    August 8, 2013 at 5:01 pm #55124
    rednet
    Member

    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,

    August 29, 2013 at 8:56 am #59533
    studio154
    Participant

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

    many thanks


    Studio Fotografico studio154
    Italy Photography studios

    September 26, 2013 at 9:52 am #64299
    lucaslem
    Member

    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>';
        }
    }
    September 26, 2013 at 9:57 am #64301
    Remkus de Vries
    Member

    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 🙂


    Translate the Genesis Framework with the Genesis Translations plugin.

    September 26, 2013 at 10:01 am #64302
    lucaslem
    Member

    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.

    October 6, 2013 at 3:40 pm #65591
    lucaslem
    Member

    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.

    October 6, 2013 at 6:31 pm #65598
    lucaslem
    Member

    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!

    November 8, 2013 at 9:16 am #71680
    dnjeel
    Member

    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?


    http://webbyra-wordpress.se/

    November 8, 2013 at 11:34 am #71696
    Remkus de Vries
    Member

    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.


    Translate the Genesis Framework with the Genesis Translations plugin.

    November 18, 2013 at 11:52 am #73979
    dnjeel
    Member

    Remkus,

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

    Thanks!


    http://webbyra-wordpress.se/

    November 18, 2013 at 12:17 pm #73981
    Remkus de Vries
    Member

    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.


    Translate the Genesis Framework with the Genesis Translations plugin.

    November 18, 2013 at 12:26 pm #73983
    Tatiana Santos
    Member

    Hello guys!

    I am having a hard time to translate Genesis and Modern Blogger Pro child theme to pt_BR.

    I already changed the wp.config.php to pt_BR but nothing happens. I also installed Genesis Translations but nothing happens.

    I got POedit but I can't find the .po file of the child theme. I know I must create it but which is the font file it should read in order for me to modify?

    *I'm lost* Please help. My site is http://www.senhorpet.com


    Brazilian blogger

    November 23, 2013 at 4:02 pm #75300
    RGeenen
    Member
    This reply has been marked as private.
    November 26, 2013 at 10:08 pm #75792
    violacase
    Member

    @lucaslem
    Thanks for sharing that post. Very helpful.

    November 26, 2013 at 10:11 pm #75794
    violacase
    Member

    @Tatiana Santos
    See reply #75792 (above this one I think)

    November 27, 2013 at 1:52 pm #75922
    Tatiana Santos
    Member

    Hello @violacase !

    Well, I am not that advanced so the most I could do was to mess up my back admin which now links n buttons appear the code and not the text but all in english. Don't know how to get back to english =/


    Brazilian blogger

  • Author
    Posts
Viewing 20 posts - 1 through 20 (of 43 total)
1 2 3 →
  • You must be logged in to reply to this topic.
Log In

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble