CodeIgniter Forums
Tranlation Files in system and aplication folder - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Tranlation Files in system and aplication folder (/showthread.php?tid=31518)



Tranlation Files in system and aplication folder - El Forum - 06-22-2010

[eluser]Alfredo Palhares[/eluser]
Hello. I made my own Portuguese Translations of the Code Igniter (by the way the portuguese translations in myGengo aren't well made, i send a message to the responsible and suggested mine)
So, I put them in system/language

But i made some plug-ins and i need custom form validate messages for it, but i don't want it my "global" folder.

It is possible to have a form_validation_lang.php file in system/application/language and only have my custom errors
like :

Code:
$lang['validate_date'] = 'O campo %s apresenta um formato inválido, por favor introduza um formato válido (aaaa\mm\dd)';

If is possible, is a good practice?

Thanks,
Alfredo Palhares


Tranlation Files in system and aplication folder - El Forum - 08-02-2010

[eluser]Gerep[/eluser]
E ai Alfredo, eu tenho o mesmo problema que você. Encontrou a solução?

Obrigado
----------------
Hello Alfredo, I have the same problem as you. Found the solution?

Thanks


Tranlation Files in system and aplication folder - El Forum - 08-03-2010

[eluser]Alfredo Palhares[/eluser]
Sim, eu fiz as minhas próprias traduções.
Se as quiser eu envio-lhas.