Clarkson-Theme icon indicating copy to clipboard operation
Clarkson-Theme copied to clipboard

Add language support + default empty .pot file

Open jmslbam opened this issue 8 years ago • 1 comments

Default composer require level-level/clarkson-wp-cli-twig-translations with require-dev

Support.php > load_theme_textdomain( 'clarkson-theme', get_template_directory() . '/language' );

clarkson-theme.pot.zip

jmslbam avatar Apr 11 '18 08:04 jmslbam

don't ignore the whole dist file because the rendered translations folder won;t be searched.

"X-Poedit-SearchPathExcluded-4: dist/images\n"
"X-Poedit-SearchPathExcluded-5: dist/fonts\n"
"X-Poedit-SearchPathExcluded-6: dist/scripts\n"
"X-Poedit-SearchPathExcluded-7: dist/styles\n"
"X-Poedit-SearchPathExcluded-7: dist/styleguide\n"

kevinpoot avatar Apr 11 '18 09:04 kevinpoot