| Previous topic :: Next topic |
| Author |
Message |
dnngb
Joined: 19 May 2008
Posts: 2
|
| Posted: Mon May 19, 2008 2:52 pm Post subject: Automatic translation script |
|
|
Hi all,
I wrote php script wich tries to automate translation of language files of vtiger 5.0.4. It uses Google Translate and translation is not very good..., but it works and it helped me very much cause now I must only do very small corrections to language files. |
|
| Back to top |
|
Mickpunt
Joined: 12 Mar 2008
Posts: 4
Location: Amsterdam
|
| Posted: Mon May 19, 2008 11:15 pm Post subject: Re: Automatic translation script |
|
|
Briliant! Worked like a charm, though I did need to alter permission on certain folders for it to work. Pity you can't give a certain PHP script root permissions.
Thanks! |
|
| Back to top |
|
prasad.a
Joined: 01 Aug 2007
Posts: 968
|
| Posted: Tue May 20, 2008 3:44 am Post subject: Re: Automatic translation script |
|
|
Hi dnngb,
Good work :), it would be nice if you can create a forge project at http://forge.vtiger.com and continue the development.
Regards,
Prasad
vtiger Team |
|
| Back to top |
|
Speedy
Joined: 21 May 2008
Posts: 2
|
| Posted: Wed May 21, 2008 10:41 am Post subject: Re: Automatic translation script |
|
|
Any tips on how to use it?
I have downloaded the script and copied it to C:\Programfiler\vtigercrm5\apache\htdocs\vtigerCRM\translate.php
Then I enter localhost/translate.php in my browser and get this errors:
Warning: scandir(./vtigercrm) [function.scandir]: failed to open dir: Invalid argument in C:\Programfiler\vtigercrm5\apache\htdocs\vtigerCRM\translate.php on line 85
Warning: scandir() [function.scandir]: (errno 22): Invalid argument in C:\Programfiler\vtigercrm5\apache\htdocs\vtigerCRM\translate.php on line 85
Any tips on how to change the language? I would like to translate to Norwegian, and google supports Norwegian. |
|
| Back to top |
|
dnngb
Joined: 19 May 2008
Posts: 2
|
| Posted: Thu May 22, 2008 9:15 am Post subject: Re: Automatic translation script |
|
|
Hi Speedy,
Here I attached renewed script, just extract this archive to your web server documents dir and run translate.php in browser. You can choose language and write your vTiger directory. Then just press translate!
After translation is completed you must add manually your new language to config.inc.php - I will make this automatic too, but tomorrow!
If you have any questions or see bugs write them here or write me at dnn(at)dolphin-3.bg |
|
| Back to top |
|
Speedy
Joined: 21 May 2008
Posts: 2
|
| Posted: Wed May 28, 2008 1:32 pm Post subject: Re: Automatic translation script |
|
|
Nice one! Thanks!
I'm trying now :) |
|
| Back to top |
|
| |