This topic has 2 replies, 2 voices, and was last updated 7 years, 11 months ago ago by Eva Kemp
Hey
1. I want to change the language at my website. I followed instructions and have put the sv_SE.po and sv_SE.mo files in /wp-content/themes/royal/languages.
But i dont get the last part of the instructions. What code should i use and where do i put the css code? I want to put it in the child theme as you recommend.
2. I have created a child them and when i now go my website i get this messege:
Notice: Undefined index: actor in /home/meielrgr/public_html/wp-content/themes/royal/framework/theme-functions.php on line 459
Notice: Undefined index: actor in /home/meielrgr/public_html/wp-content/themes/royal/framework/theme-functions.php on line 459
Notice: Undefined index: actor in /home/meielrgr/public_html/wp-content/themes/royal/framework/theme-functions.php on line 459
Notice: Undefined index: actor in /home/meielrgr/public_html/wp-content/themes/royal/framework/theme-functions.php on line 459
How do i fix this?
Thanks,
William
Hello,
As I see you put WordPress translation files, not the theme. Go to wp-content/themes/royal/languages directory and translate Royal.pot file with Poedit program as written here http://betterwp.net/wordpress-tips/create-pot-file-using-poedit./ . Then go to Settings > General in your WP Dashboard and select your language.
As for the notices I’ve disabled debug mode in wp-config.php file.
Please check now.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up