German Locale as UTF-8 for Download

German Locale as UTF-8 for Download

Postby mstum on Mon May 28, 2007 7:49 pm

Hello,

as i like to keep my Website as UTF-8 (Allows me to get rid of the ä stuff and I can use French and some other non-ISO Chars that way), i have converted the German Locale to UTF-8.

The actual Content remains unchanged, so I won't take any credit here.

If you want to download it, here is the link:
http://www.stum.de/1_keks/archive/3_lif ... utf-8.html

There is one interesting thing to mention:
On your template in the header.template, there may be a line like this:
{$locale->tr("main")|capitalize}

For some Reason, this causes Smarty to capitalize the B in the Word "Ãœbersicht" as well, regardless if it's written as "Ãœbersicht" or "Übersicht", so it looks like "ÃœBersicht".

I simply removed the capitalize-modifier from my Template.
mstum
 
Posts: 1
Joined: Mon May 28, 2007 7:43 pm

Postby jondaley on Mon May 28, 2007 10:52 pm

Yeah, the capitalize function in smarty isn't UTF-safe. Mark Wu has been removing them as he finds them. I forget if he wrote a UTF-safe function, or if we just have the strings translated with capital letters.
jondaley
Lifetype Expert
 
Posts: 6169
Joined: Thu May 20, 2004 6:19 pm
Location: Pittsburgh, PA, USA
LifeType Version: 1.2.11 devel branch


Return to Localization

cron