<div dir="ltr"><div><div>@Rohit - Writing to your original question (although typically Child-Themes are the more correct answer), only the files included with the theme package will be used with a theme update. This is important to keep in mind if you remove a file from your theme as it will remain in any installation of your theme prior to that change.<br>

<br></div>This is also essentially how page templates can survive a theme update.<br><br><br></div>Cais.<br></div><div class="gmail_extra"><br clear="all"><div>Edward Caissie<br>aka Cais.</div>
<br><br><div class="gmail_quote">On Fri, Oct 18, 2013 at 2:42 PM, Emil Uzelac <span dir="ltr"><<a href="mailto:emil@uzelac.me" target="_blank">emil@uzelac.me</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<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">

<div><div class="h5">
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></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div class="h5">



<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></div></div><div class="im">_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">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></div></blockquote></div><br></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>