[Vtigercrm-developers] Language Packaging and installation

Alan Lord (News) alanslists at gmail.com
Mon Jun 14 11:27:02 PDT 2010


Hi all,

Following some questions by our customers I have put together an en_gb 
language pack (That is British English, as opposed to American English) 
for vtiger 5.1.0.

This is the first time I've made one of these and I'm getting a couple 
of odd results during the install...

Toward the bottom I am seeing several files being skipped even though 
they are in my zip package.

Anyone got any bright ideas?

.
.
.
Copying file include/language/en_gb.lang.php ... DONE
Copying file include/Webservices/language/en_gb.lang.php ... DONE

Why is this being skipped?
Copying file cron/language/phpmailer.lang-en.php ... SKIPPED

Copying file jscalendar/lang/calendar-en.js ... DONE

(Why are these being skipped?)
Copying file jscalendar/lang/calendar-gb.js ... SKIPPED
Copying file jscalendar/calendar-setup.js ... SKIPPED

Registering Language British English [en_gb] ... DONE
Importing British English [en_gb] ... DONE

I think I know why the calendar-gb.js is being skipped as there is a 
line (around 90 IIRC) in the vtlib/Vtiger/LanguageImport.php file that 
is only looking for the first two characters of the language filename, 
e.g. the "en" bit. But this then begs the question how we deal with 
multiple language packs of the same "core" language, like Spanish, 
Portuguese, English and French?

Cheers

Al

-- 
The Open Learning Centre
http://www.theopenlearningcentre.com




More information about the vtigercrm-developers mailing list