Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Other > International > I18N/L10N - Translations

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 03-20-2007, 05:24 AM
Project Contributor
 
Posts: 5
Default PHP Translator Tool

I have created a small PHP script to translate the language files

Installation Instructions
Copy the PHP script to the /opt/zimbra/httpd/htdocs directory

If you don’t have any old localized language files then you have to create some empty files in the
/opt/zimbra/tomcat/webapps/zimbra/WEB-INF/classes/msgs/ directory

Then point your webbrowser to http://SERVER:7780/translate.php

The rest should be selfexplaining (i hope )


Rico Bach

Last edited by rbach : 03-22-2007 at 11:55 PM.
Reply With Quote
  #2 (permalink)  
Old 03-21-2007, 06:23 AM
Zimbra Employee
 
Posts: 123
Default

Quote:
Originally Posted by rbach View Post
I have created a small PHP script to translate the language files

Installation Instructions
Copy the PHP script to the /opt/zimbra/httpd/htdocs directory

If you don’t have any old localized language files then you have to create some empty files in the
/opt/zimbra/tomcat/webapps/zimbra/WEB-INF/classes/msgs/ directory

Then point your webbrowser to http://SERVER:7780/translate.php

The rest should be selfexplaining (i hope )


Rico Bach
Can you add it to the gallery (gallery.zimbra.com)?
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
P.S.: don't forget to vote on this bug
add Samba LDAP entries to Exchange Migration Tool
Reply With Quote
  #3 (permalink)  
Old 03-21-2007, 04:29 PM
Project Contributor
 
Posts: 5
Default

Quote:
Originally Posted by Greg View Post
Can you add it to the gallery (gallery.zimbra.com)?
That’s here by done
Reply With Quote
  #4 (permalink)  
Old 03-21-2007, 07:13 PM
Zimbra Consultant
 
Posts: 5,606
Default

rbach,
Thanks. We appreciate all of your work on this product!
-john
Reply With Quote
  #5 (permalink)  
Old 04-08-2007, 11:23 AM
Project Contributor
 
Posts: 5
Default Updated version of the PHP translator tool

Hi I have updated the PHP translator tool and added translations status on the page

you can download it from the zimbra gallery

http://gallery.zimbra.com/gallery.ph...d&productId=47
Reply With Quote
  #6 (permalink)  
Old 04-23-2007, 06:04 AM
Senior Member
 
Posts: 58
Default

Hello,

nice tool!

I added the line
PHP Code:
$inputtext str_replace("\\\'""\'"$inputtext); 
in the function cleanText


Because there came many backslashes before the \'
Reply With Quote
  #7 (permalink)  
Old 05-02-2007, 07:32 AM
Trained Alumni
 
Posts: 117
Default

When i try to run this i get this error:
Status Messages: Choose a file

Warning: asort() expects parameter 1 to be array, null given in /opt/zimbra/httpd-2.0.54/htdocs/translate.php on line 269

Warning: Invalid argument supplied for foreach() in /opt/zimbra/httpd-2.0.54/htdocs/translate.php on line 101



Did not find any info on where old/new files should be.....
Have the old files in msgs.backup folder....
Reply With Quote
  #8 (permalink)  
Old 11-26-2008, 03:00 PM
New Member
 
Posts: 4
Default Changed it to work with 5.x

Hello!

Thanks for a great tool!

I've done some minor adjustments so that it works on Zimbra 5.0.x
Attached Files
File Type: zip translate.zip (3.4 KB, 118 views)
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com