RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Third Party Contributions > Languages (Translations)

For more information about the ads and why they're here, please see the FAQ
Reply
  #1  
Old 01-30-2007, 07:15 AM
Registered User
 
Join Date: Jan 2007
Posts: 8
Downloads: 0
Uploads: 0
Send a message via Yahoo to Nipon
Default Facing problem with my translation

I have tried to translate roundcube into Bengali. I copied the messages.inc and labels.inc from the en_us folder to a new folder called 'bn' and then translated a few strings.

Then in localization/index.inc, under $rcube_languages = array i added this
Code:
'bn'  => 'Bengali',
That is the method to do a translation for any language? Am i right?

It was working fine after this with Bengali selected as language. At this point, I completed the entire translation i.e. completed whatever strings were yet to be translated. After that the user accounts with language option selected as Bengali stopped working. That is whenever those users open mysite.com/mail a blank page comes. i delete the cookies so that i can see the login page and login, but after login again i get a blank page.

Can somebody please help me out. Let me add here that Bengali does not have a roman language script. Does that matter though?
__________________
Nipon<br />http://www.niponwave.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 02-03-2007, 05:37 AM
Registered User
 
Join Date: Feb 2007
Posts: 4
Downloads: 0
Uploads: 0
Default Re: Facing problem with my translation

I have absolutely same problem, only language is Serbian [sr]. Everything worked fine while messages.inc and labels.inc were ANSI encoded, but then serbian specific characters were displayed wrong. After testing messages.inc encoded in UTF-8, everything was ok, but when i uploaded labels.inc encoded in UTF-8, and all i get is blank screen instead of login screen in firefox. In IE i get login screen, but ater login, everything is blank.
Any solution? Thanx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 02-03-2007, 05:44 AM
Registered User
 
Join Date: Feb 2007
Posts: 4
Downloads: 0
Uploads: 0
Default Re: Facing problem with my translation

**UPDATE**
When I deleted serbian from localization directory, and clear [sr] entry from index.inc, i can login normally, like nothing happened. Which brings me to conclusion that something is wrong with translation file. I'll check file and then get back to you.

**UPDATE 2**
I didn't figured out what extactly was wrong with my translation files (messages.inc, labels.inc), but i rewrote them from scratch, using UTF-8 encoding, reuploaded, and everything works like a charm!

Nipon, you can try that, instead of losing nerves looking for problem.
Peace
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 03-02-2007, 08:38 PM
Registered User
 
Join Date: Jan 2007
Posts: 8
Downloads: 0
Uploads: 0
Send a message via Yahoo to Nipon
Default Re: Facing problem with my translation

Quote:
Originally Posted by omarska
i rewrote them from scratch, using UTF-8 encoding....
what do u mean by u wrote with UTF-8 encoding? I don't understand. Roundcube is having UTF-8 as charset. So what else do I do?
__________________
Nipon<br />http://www.niponwave.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 03-17-2007, 10:36 AM
Registered User
 
Join Date: Jan 2007
Posts: 54
Downloads: 0
Uploads: 0
Default Re: Facing problem with my translation

Yes please,

explain what you mean by rewriting everything in UTF-8.

I have added some texts in Spanish and there are errors.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 03-30-2007, 12:07 PM
Registered User
 
Join Date: Jan 2007
Posts: 8
Downloads: 0
Uploads: 0
Send a message via Yahoo to Nipon
Default Re: Facing problem with my translation

ok i figured out what omarska meant to say. i rewrote messages.inc and labels.inc in notepad and saved them with UTF-8 as encoding (you get to choose encoding in the file save dialog box) and things worled perfect. thanks to omarska.
__________________
Nipon<br />http://www.niponwave.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

For more information about the ads and why they're here, please see the FAQ

All times are GMT. The time now is 02:09 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright © 2006-2008 RoundCube Webmail Community