vtiger Forum Index vtiger
The Honest Open Source CRM
 

New language file
Click here to go to the original topic

 
       vtiger Forum Index -> Language Packs - 5.0.2
Previous topic :: Next topic  
Author Message
Andreas



Joined: 24 Feb 2006
Posts: 51

Posted: Wed Mar 21, 2007 12:23 pm    Post subject: New language file  

Hi Team,
with revision 10473 you introduced a new language file 'include/js/en_us.lang.js' which defines a javascript array with used strings.
I found that all the strings are also defined in the 'normal' lang file. And somewhere in the code (don't know exactly which file at the moment) i found a piece of code where the js-array is matched to a php-array.

Just for clarification:
Do we have to maintain a xx_xx.lang.js file in the language packs in future or is this just a temporary solution.
Without a lang.js file (de_de.lang.js in my case) some functionality is broken if you use another language than english.
And additionally there seems to be no consistent use of this js file over the application because in some places i get my translated strings and in other places i get the english string.

Please confirm,
regards,
Andreas
Back to top  
minnie



Joined: 06 Sep 2005
Posts: 299
Location: CHENNAI,INDIA

Posted: Thu Mar 29, 2007 3:38 pm    Post subject: New language file  

Dear Andreas,

Quote: with revision 10473 you introduced a new language file 'include/js/en_us.lang.js' which defines a javascript array with used strings.
This file included to give language support for js-alert.
Quote: Just for clarification:
Do we have to maintain a xx_xx.lang.js file in the language packs in future or is this just a temporary solution.
Without a lang.js file (de_de.lang.js in my case) some functionality is broken if you use another language than english.
this is not a tempory solution. you need to maintain the langauge file as you are doing for module(modules/Accounts/language/en_us.lang.php) language file.

Quote: And additionally there seems to be no consistent use of this js file over the application because in some places i get my translated strings and in other places i get the english string.
this is the first level of change that we have integrated. so definitely we missed out to translate in some places. but we try to fix it in the next level.

Thanks & Regards,
Minnie.
Back to top  
 
       vtiger Forum Index -> Language Packs - 5.0.2
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.15 © 2001, 2002 phpBB Group