Translate “Posted on” and “Posted in”
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.
Need fast email support? Get SiteOrigin Premium
Save 30% on SiteOrigin Premium with our April sale. Use code APRIL30 .
This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.
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.
Need fast email support? Get SiteOrigin Premium
Have a different question or issue?
Start New Thread
Replies
8Hi 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 translatable function 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.
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
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?
Hi
Have you placed your ro_RO.po and ro_RO.mo files in a languages folder in your child theme?
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.
Hi
With my account cannot write a new thread on your site !? I have only Dashboard and Profile :)
sorry. I see now where open thread
Hi dcrst75
Glad you found the link: https://siteorigin.com/new-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.