#1 2014-05-06 22:23:19

kochin
Member
Registered: 2013-07-23
Posts: 13

Installation only allows 2-letter language code!

I understand the new 1.0.6 allows up to 8 characters for language codes. However, during installation, only 2-letter language code are allowed. The checking code in class/Installer.php needs to be changed.

Offline

#2 2014-05-06 23:28:48

ukyo
Community Manager
From: Marmaris - Turkey
Registered: 2010-05-19
Posts: 734
Website

Re: Installation only allows 2-letter language code!

Thanks will be fixed for next release


<ion:ukyo from="Turkey" />
Ionize CMS Türkçe Dil Çeviri Dosyaları | My Github Repositories
Please send your first message to a forum section, not forum users or administration.

Offline

#3 2014-05-07 20:40:18

kochin
Member
Registered: 2013-07-23
Posts: 13

Re: Installation only allows 2-letter language code!

Thank you for the quick response.

I also found out that, when entering language codes in the admin backend, they have to be lower case. Is it intentional?

For example, I tried zh-TW and got a 404 page when switched to that language. The Apache error log shows "PHP Fatal error:  Call to undefined function curl_init() in /var/www/Ionize-1.0.6/system/libraries/Curl.php on line 281". After I changed it to zh-tw, the frontend and backend show up as expected.

Last edited by kochin (2014-05-08 16:47:25)

Offline

#4 2014-05-07 22:49:41

kochin
Member
Registered: 2013-07-23
Posts: 13

Re: Installation only allows 2-letter language code!

After some checking, I realized the error has nothing to do with the language code containing upper case letters. The error was caused by not having php5-curl package installed.

However, the problem with upper case letters in language codes still exists. Changing a language code to contain upper case letters will result in 404 page to be displayed when switching to that language.

Created a new topic http://ionizecms.com/forum/viewtopic.php?id=1798 for this issue.

Last edited by kochin (2014-05-08 16:51:26)

Offline

What's Ionize ?

Ionize is an Open Source Content Management System created by webdesigners for webdesigners.

Created and maintained by Partikule and Toopixel, Ionize wants to be the easiest and most powerful CMS.

Can I help ?

Because talent is nothing without involvement, we are looking for motivated coders and webdesigners to join the project team.

Resources

Website : ionizecms.com
Documentation : doc.ionizecms.com

Development : Ionize on GitHub
Translations : Ionize Translations