[theme-reviewers] How do the theme updates work?

Emil Uzelac emil at uzelac.me
Fri Oct 18 21:42:58 UTC 2013


get_template_directory() should be fine and where language files need
to be stored anyways. User submits to you and you can include in Theme.


On Fri, Oct 18, 2013 at 4:25 PM, Rohit Tripathi <rohitink at live.com> wrote:

> 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' );
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20131018/50339c27/attachment.html>


More information about the theme-reviewers mailing list