[theme-reviewers] How do the theme updates work?
Rohit Tripathi
rohitink at live.com
Fri Oct 18 21:25:50 UTC 2013
So, here is a question related to that. I have the following syntax to load theme text-domain in my theme.
load_theme_textdomain( 'mythemename', get_template_directory() . '/languages' );
And I have only provided a default.po file in the languages folder, which allows user to create his own language file. So, A user goes ahead and creates fr_FR.mo from the file I provided. So, wouldn't his language file get lost with every theme update?
So, should I use following instead?
load_theme_textdomain( 'mythemename', get_stylesheet_directory() . '/languages' );
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20131019/65b8324e/attachment.html>
More information about the theme-reviewers
mailing list