Welcome Guest, Not a member yet? Register   Sign In
Translation of CI labels fails.
#1

[eluser]murphy2006[/eluser]
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:

Code:
The Meddelande field is required.

Instead of the translation:

Code:
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!
#2

[eluser]CroNiX[/eluser]
did you add your own language file to override the default located in /system/language/english/form_validation_lang.php?
#3

[eluser]murphy2006[/eluser]
Yes, I made a copy of that file and translated it, but it still fails.




Theme © iAndrew 2016 - Forum software by © MyBB