Issue with the langauge class |
[eluser]Jona[/eluser]
Hi all, I'm trying to implement a test of the langauge class. I have the following setup application/controllers/test.php Code: class Test extends Controller { Then in application/language/welsh/login_lang.php Code: $lang['welcome'] = "Croeso"; When I navigate to http://192.168.238.131/index.php/test/index I get the following output: Code: $lang['welcome'] = "Croeso"; Any help much appreciated.. Cheers Jona
[eluser]Jona[/eluser]
Easy fix - I forgot to add the <?php and ?> tags to my language files. Doh! Jona |
Welcome Guest, Not a member yet? Register Sign In |