• Resolved BrandiMarie88

    (@brandimarie88)


    I have a client that is Danish and am needing to change the “Publish Date” to the danish translation. I was able to do this with the other labels such as Publisher, Editor, Edition, etc. However because there is more coding with Publish Date, I’ve been unsuccessful in changing it. Can anyone assist with instructing what all I need to change in order to get it to reflect the danish translation. I have the translation already, just need to know where and what to change in the coding.

    Link to author site: https://www.cautious.dk/book/de-7-synder/

    Help is appreciated!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter BrandiMarie88

    (@brandimarie88)

    So, I’m still around.

    Hoping to get help on getting the “published” label of the plug in to display in danish. The danish word for “published” is “Udgivelsesdato” (so my client translated for me). I was able to swap out the other labels for the danish translation and they’re able to display… but the “published” is proving to be more complicated… help?

    See here for what it looks like currently… you’ll see “published” is still in english: https://www.cautious.dk/book/de-7-synder/

    Hi, @brandimarie88!

    If you’re editing the plugin directly to change these labels, the “Published” label can be found at plugins/genesis-author-pro/functions/template.php on line 439:

    $label = time() < $meta ? __( 'Available', 'genesis-author-pro' ) : __( 'Published', 'genesis-author-pro' );

    (Just be aware that plugin updates will overwrite file changes like this, unfortunately.)

    The beta/development version of the plugin includes support for translation via .mo or .po files if you wanted to use https://www.ads-software.com/plugins/loco-translate/ or https://poedit.net/ to do your translations instead of editing plugin files directly:

    You can download the beta version with translation support here: https://github.com/copyblogger/Genesis-Author-Pro/archive/develop.zip

    Plugin Contributor Nick the Geek

    (@nick_thegeek)

    noting that the fixes for translation have just been released for version 1.0 so you should be able to build your translation using .po/mo files correctly.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Translation Assistance’ is closed to new replies.