-
AuthorPosts
-
November 17, 2014 at 1:55 am #146495
Hi Support! In my case it has finally worked doing the following:
– Add your suggested code.
– Having the line load_theme_textdomain( ‘framework’, TEMPLATEPATH.’/lang’ ); in my functions child theme makes no difference. Translations works with or without having the line. I have deleted them. Let me know if I should keep it! Thanks.
– Change the name default.po and default.mo to es_ES.po and es_ES.mo.And now it works!
Thanks!!
November 17, 2014 at 4:17 am #146566Thanks for sharing this with us! It will be useful for people that are running into the same issue in the future.
January 22, 2015 at 6:28 am #188970This reply has been marked as private.January 22, 2015 at 4:59 pm #189497Hey cblaser: Oliver can’t view your post since he can’t read private replies, you might want to send him a non privat message here instead and ask him for his contact information so you guys can speak privately since our forum is public.
October 7, 2015 at 9:58 am #615069Hi
I created .po and .mo files and placed them in lang folder of the X theme, and it works.
However I moved the files to the child theme folder (/themes/x-child/framework/lang/) and added the code above to functions.php in the child theme.
When I save, the code is changed to:add_action( after_setup_theme, my_child_theme_setup );
function my_child_theme_setup() {
}and the translation does not show.
Can you help?
October 7, 2015 at 11:32 am #615247Hi there,
Thanks for updating. That sounds pretty odd. If you copied the code in response #146225, it should not be altered as you save it.
Have you also tried the suggestion here? If you are still having troubles, would you mind providing us with your admin access as well as the FTP details so we could check on your setup further? Thank you.
-
AuthorPosts