Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th May 2012, 20:36
cfoe cfoe is offline
ISPConfig Developer
 
Join Date: Oct 2011
Location: NRW, Germany
Posts: 233
Thanks: 27
Thanked 57 Times in 32 Posts
Send a message via Skype™ to cfoe
Default Charset for language files

Hi Devs,
  1. I am just trying to finish up the German language files from the TRUNK and came across an inconsistency.
    The .lng-files have the UTF-8 encoding but some strings contain unnecessary code like ö for .

    Can I change these to the characters included in UTF-8?
  2. German translation for domain:
    The German translation for "domain" is inconsistent throughout the interface. For me TLDs should be named "Domain(s)" in German also because "Domne(n)" are most of the time referencing to the domain of a Active Directory/LDAP.

    For the sake of consistency I could change all German references of domain from "Domne" to "Domain". Just give me the go-ahead
  3. General text format for $wb['add_new_record_txt'] (German): Should the "Neue" be included in the text?
    "Neue Mailbox hinzufgen" vs "Mailbox hinzufgen"

Christian

Last edited by cfoe; 18th May 2012 at 21:05. Reason: added point 2
Reply With Quote
Sponsored Links
  #2  
Old 19th May 2012, 15:45
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by cfoe View Post
[*]I am just trying to finish up the German language files from the TRUNK and came across an inconsistency.
The .lng-files have the UTF-8 encoding but some strings contain unnecessary code like ö for .
I've noticed this as well. The problem is that umlauts are displaying fine in some forms while in other forms they display strange characters (therefore the lng files contain ö instead of in these cases). We're trying to figure out why this happens, therefore I ask you to not change any German language files until we've figured this out.

Quote:
Originally Posted by cfoe View Post
[*]German translation for domain:
The German translation for "domain" is inconsistent throughout the interface. For me TLDs should be named "Domain(s)" in German also because "Domne(n)" are most of the time referencing to the domain of a Active Directory/LDAP.
I prefer "Domain" over "Domne".

Quote:
Originally Posted by cfoe View Post
[*]General text format for $wb['add_new_record_txt'] (German): Should the "Neue" be included in the text?
"Neue Mailbox hinzufgen" vs "Mailbox hinzufgen"
I can't say this right now, I need to check first.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 19th May 2012, 17:09
cfoe cfoe is offline
ISPConfig Developer
 
Join Date: Oct 2011
Location: NRW, Germany
Posts: 233
Thanks: 27
Thanked 57 Times in 32 Posts
Send a message via Skype™ to cfoe
Default

Quote:
Originally Posted by falko View Post
I've noticed this as well. The problem is that umlauts are displaying fine in some forms while in other forms they display strange characters (therefore the lng files contain ö instead of in these cases). We're trying to figure out why this happens, therefore I ask you to not change any German language files until we've figured this out.
I just investigated the problem and found the solution. Some of the .lng-files have the ASNI encoding and are therefore not UTF-8 compatible. After the conversion to UTF-8 the frontend displays all characters correctly.
I will check and correct all .lng file encodings and update the files with umlauts and a few additions to DE translations.
Reply With Quote
  #4  
Old 19th May 2012, 17:42
cfoe cfoe is offline
ISPConfig Developer
 
Join Date: Oct 2011
Location: NRW, Germany
Posts: 233
Thanks: 27
Thanked 57 Times in 32 Posts
Send a message via Skype™ to cfoe
Default

The problem is somewhat different from what I thought.
The main problem is still right. Some of the checked-out files are ASNI encoded.

It seems to be a Subversion bug. You may need to lay a hand on Subversion and let it change all encodings to "UTF-8 (w/o BOM)" as are most but not all files.

I will hold back with changes to the language files until the encoding is fixed.
Reply With Quote
  #5  
Old 21st May 2012, 08:42
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,778
Thanks: 821
Thanked 5,333 Times in 4,184 Posts
Default

Thanks for your findings, I will check that.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 23rd May 2012, 09:53
cfoe cfoe is offline
ISPConfig Developer
 
Join Date: Oct 2011
Location: NRW, Germany
Posts: 233
Thanks: 27
Thanked 57 Times in 32 Posts
Send a message via Skype™ to cfoe
 
Default

Till solved the charset "problem".

To all translators:
If you need to use special characters in your language (files) only available in UTF-8 make sure you set the encoding in e.g. Notepad++ to "UTF-8 Without BOM" before you commit to the SVN.

So commit away! There are some new features not translated in a few languages.

If you are not using the ISPConfig SVN follow this guide http://www.faqforge.com/linux/contro...the-interface/
__________________
Christian Foellmann

OpenSource-Projects - GitHub-Projects - SVN-Mirrors on GitHub - Foe Services
Reply With Quote
The Following 2 Users Say Thank You to cfoe For This Useful Post:
falko (24th May 2012), till (23rd May 2012)
Reply

Bookmarks

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 17:26
Debian 5.0 'hangs' GHz Installation/Configuration 5 1st October 2009 12:57
Apache wont serve my files anymore:( wotIsCmd Server Operation 2 17th July 2009 20:24
The system is currently updating the configuration files. warlock General 8 21st February 2009 18:15
Network questions regarding Ubuntu Server lubod Installation/Configuration 7 3rd January 2007 18:53


All times are GMT +2. The time now is 04:52.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.