| Previous topic :: Next topic |
| Author |
Message |
edrobinson
Joined: 08 May 2007
Posts: 4
Location: Idaho, USA
|
| Posted: Mon Jun 25, 2007 6:31 pm Post subject: language file |
|
|
After installing 5.0.3 on a new server, numerous pages had an error - alert_arr is undefined.
I see that this is the language specific array of alert texts...
alert_arr is defined in en_us.lang.js.
The apache error log said the modules could not find us_en.lang.js.
Made a copy of the original and renamed it and now all is well... :D
Hope this helps someone else... |
|
| Back to top |
|
Mike54
Joined: 04 Jun 2007
Posts: 35
|
| Posted: Fri Nov 09, 2007 4:24 pm Post subject: language file |
|
|
OK! geat - that worked for me as well
I have 5.0.3 and Polish language pack.
So I had to copy as well script file located in
\\c\vtigercrm\include\js
and rename it to my langiage (pl_PL.lang.js)
thanks,
Mike |
|
| Back to top |
|
matteoraggi
Joined: 03 Dec 2007
Posts: 304
Location: italy
|
| Posted: Mon Dec 10, 2007 11:58 am Post subject: language file |
|
|
I have added italian language to the english by default,
coying files and adding this line in config.ini.php
$languages = Array('it_it'=>'Italiano','en_us'=>'US English',);
now I want to add the polish language, so which text string I must write?
My fantasy tell me:
$languages = Array('it_it'=>'Italiano','en_us'=>'US English','pl_pl'=>'Polski',);
now I try in this way... |
|
| Back to top |
|
matteoraggi
Joined: 03 Dec 2007
Posts: 304
Location: italy
|
| Posted: Mon Dec 10, 2007 12:10 pm Post subject: language file |
|
|
| all right! Polski is only the word appearing when choosin language doing login |
|
| Back to top |
|
ddfire
Joined: 11 Jul 2007
Posts: 8
|
| Posted: Fri Mar 28, 2008 8:10 pm Post subject: Re: language file |
|
|
THANKS!!!!!!!
it works for 5.0.4 too
thanks again!
edrobinson wrote: After installing 5.0.3 on a new server, numerous pages had an error - alert_arr is undefined.
I see that this is the language specific array of alert texts...
alert_arr is defined in en_us.lang.js.
The apache error log said the modules could not find us_en.lang.js.
Made a copy of the original and renamed it and now all is well... :D
Hope this helps someone else... |
|
| Back to top |
|
| |