create translation files for parent theme inside childtheme dir
-
Hello,
I think your plugin might be the perfect choice, but i unfortunately have one major issue i can’t resolve. So, i have a lot of gettext strings in my parent theme, but i want to create the POT/PO/MO files and save them inside the childtheme folder.
For example, i have:
– Parent Theme
– Child Theme 1
– Child Theme 2inside the loco translation overview and when i create a template or language file for the parent theme everything works fine. But when i try to create a lang. or template file for my child theme, the string search function doesn’t find any strings. Now is my question, it is possible to use the parent theme gettext strings for my child theme with loco translate?
I know that i can just copy the parent theme pot file inside my child theme directory, but this is not an option because i am really need the included sync function from the plugin. I tried something like include the textdomain from the parent theme inside the child theme style.css, but it had no effect.
Thanks your any help
The topic ‘create translation files for parent theme inside childtheme dir’ is closed to new replies.