<div dir="ltr">Hi,<div><br></div><div>Thanks! for clarification.</div><div><br></div><div>Yes, module related translations is found in Module file if not fallback to vtiger file. Are you looking for translations in different file?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 19, 2015 at 8:04 PM, Conrado Maggi <span dir="ltr"><<a href="mailto:comaggi@gmail.com" target="_blank">comaggi@gmail.com</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">Hello Uma,<div><br></div><div>Thanks.. I mean the following scenario:  if I register a header script to run a function in accounts modules or add a link n the sidebar, if the string to be translated is not in present Accounts.php, them won't be translated.</div><div><br></div><div>You have to manually edit either Vtiger.php or Accounts.php language file for this to work.</div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Thu, Mar 19, 2015 at 1:16 PM, Uma S <span dir="ltr"><<a href="mailto:uma.s@vtiger.com" target="_blank">uma.s@vtiger.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 dir="ltr">Hi,<div><br></div><div>In js filed you should make use of app.vtranslate() api for translations. Please do refer layouts/vlayout/modules/Acconts/resources/Detail.js.</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Thu, Mar 19, 2015 at 4:16 PM, Conrado Maggi <span dir="ltr"><<a href="mailto:comaggi@gmail.com" target="_blank">comaggi@gmail.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><div dir="ltr">Hi,<div><br></div><div>When working with javascript files to add features to another module the translations won't work. </div><div><br></div><div>The app.translated function only load the language files from the module you are viewing so all the messages, labels, etc look like LBL_YOUR_MODULE_LABEL_TEXT</div><div><br></div><div>Have anyone found a work around for this? Maybe loading the file using ajax and caching the translation on client side?</div><div><br></div><div>Thanks</div></div>
<br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><span><font color="#888888"><br></font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">With<br>Best Regards<br>Uma.S<br><div>Vtiger Team</div></div></div>
</font></span></div>
<br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">With<br>Best Regards<br>Uma.S<br><div>Vtiger Team</div></div></div>
</div>