Home>Support>Translate “Posted on” and “Posted in”

Translate “Posted on” and “Posted in”

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Where do i find the location where i can edit the infromation of the post?

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 11 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    Hi Eirik

    To translate your theme you’ll need to create a child theme: https://codex.wordpress.org/Child_Themes. Here how your style.css file can/should look:

    /* Theme Name:   Portal Child Author:       SiteOrgin Template:     portal Version:      1.0.0*/@import url("../portal/style.css");

    Create a functions.php file within your child theme and insert the following into that file:

    <?// Make the theme translatablefunction portal_child_set_text_domain(){load_theme_textdomain( 'portal', get_stylesheet_directory() . '/languages' );}add_action('after_setup_theme', 'portal_child_set_text_domain', 15);

    Add a languages folder to your child theme.

    Now download http://poedit.net/. Use the portal.pot file in the portal languages folder to translate your theme. Save the translation in your language code, for English US it would be en_US. Poedit will create a .mo and .po file with the name you provided. Put those two files in the languages folder of your child theme.

    Finally change the langauge variable in the wp-config.php file of your WordPress root to your language code, the same code you saved your files as, eg, en_US:

    define('WPLANG', 'en_US');

    If required you will find more detailed tutorials online to assist with this process.

    • 10 years, 8 months ago Fredfighter68

      Hi,Andrew

      Thanks for your support!Love Vantage this great theme.
      Would you provide a more detailed tutorial to do translation?I can not understand this step you wrote” Now download http://poedit.net/. Use the portal.pot file in the portal languages folder to translate your theme.”
      Where can I find the portal.pot file?

      Thanks and regards
      Fred

  2. 11 years, 20 days ago dcrst75

    Hi
    I have the same problem with my site. Only some text is translated by WP but nothing from Vantage theme.
    I make all changes from you say but nothing changed. My language is romanian and my site is still in english.
    I have:
    – in config.php I put ro_RO
    – make child theme of Vantage
    – make functions.php with you descibed
    What I wrong?

  3. 11 years, 20 days ago Andrew Misplon
    Hi, I Work Here

    Hi

    Have you placed your ro_RO.po and ro_RO.mo files in a languages folder in your child theme?

  4. 11 years, 20 days ago Andrew Misplon
    Hi, I Work Here

    dcrst75, please can you open a new thread for further assistance, this thread we’re on is for Portal theme so we’re a little off topic.

  5. 11 years, 19 days ago dcrst75

    Hi
    With my account cannot write a new thread on your site !? I have only Dashboard and Profile :)

  6. 11 years, 19 days ago dcrst75

    sorry. I see now where open thread

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More