CodeIgniter Forums

Full Version: Strange behavior with i18n variables
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I try to i18n strings with message files as explained in the manual, however if I use similar names with different postfixes, the framework seem to confuse the variables.
E.g. in the example: 
'msg_pro_ab_1' => 'Hello',
'msg_pro_ab_1a' => 'Bla bla',
'msg_pro_ab_1b' => 'bye bye',

it shows only 'hello' in the all cases.

Anyone has an idea what could I check? It seems to be too trivial to be a bug.

Best Regards,
Are you sure you didn’t reuse the same key more than one time in your language file?
Can you show some code?