<div dir="ltr">get_template_directory() should be fine and where language files need<br><div>to be stored anyways. User submits to you and you can include in Theme.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Oct 18, 2013 at 4:25 PM, Rohit Tripathi <span dir="ltr"><<a href="mailto:rohitink@live.com" target="_blank">rohitink@live.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">So, here is a question related to that. I have the following syntax to load theme text-domain in my theme.<br><div><br></div><div>load_theme_textdomain( 'mythemename', get_<b>template</b>_directory() . '/languages' );</div>
<div><br></div><div>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?</div>
<div><br></div><div>So, should I use following instead?</div><div><br></div><div>load_theme_textdomain( 'mythemename', get_<b>stylesheet</b>_directory() . '/languages' );</div> </div></div>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>