Part of the EllisLab Network
Memorial Day
Support will be closed on Monday, May 28th, 2012 to enjoy Memorial Day with our friends and families.
   
 
Translation of CI labels fails.
Posted: 06 December 2009 09:02 AM   [ Ignore ]  
Grad Student
Rank
Total Posts:  97
Joined  12-28-2005

Hello,

I am developing an online dating website that I have created translations into swedish, danish and norwegian. All text labels that I have created myself gets translated but the form validation labels are all in english.

I get:

The Meddelande field is required

Instead of the translation:

Fältet Meddelande är obligatoriskt

I have created a swedish translation of the form validation file and put it in the swedish folder, but still I get english translation.

Anyone know what is wrong? I rather not set a hard coded default language in the config file since I want it to remain dynamic.

Thankful for all help!

Profile
 
 
Posted: 06 December 2009 09:52 PM   [ Ignore ]   [ # 1 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  2589
Joined  02-19-2009

did you add your own language file to override the default located in /system/language/english/form_validation_lang.php?

 Signature 
Profile
 
 
Posted: 07 December 2009 09:49 AM   [ Ignore ]   [ # 2 ]  
Grad Student
Rank
Total Posts:  97
Joined  12-28-2005

Yes, I made a copy of that file and translated it, but it still fails.

Profile