Theme not ready for translations
-
I intended to use this theme for a site in german language. But unfortunately not all strings within the theme’s files ar ready for translations.
Example file: /template-parts/post/content-none.php
Problematic code:esc_attr('Nothing found for: %s','totalpress')
should be replaced with
esc_attr_e('Nothing found for: %s','totalpress')
in order to be ready for translations.
In my child theme, which is based on ‘totalpress’, I now have to make duplicates of all those files with hardcoded strings and replace them.
And when ‘totalpress’ gets an update, I have to repeat these steps with all affected files.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Theme not ready for translations’ is closed to new replies.