CodeIgniter Forums

Full Version: Multi Lingual Errors
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm not 100% sure if this is a feature or a bug or a lack of understanding, but I'm finding when I use custom validation rules with language the messages in the app/Language/en/validation.php file, I can't ever get them to show in other languages.  

It would be nice to be able to forcibly set the locale when getting the error string.  You can do this for the lang function as the third parameter, but I don't know how to do this for the Validation messages.  I know there is a way to use the url to change the locale, but that isn't possible in my scenario.