Closed cesarliws closed 10 years ago
This can be simply achieved by adding language setting in the respective module.
Create this file: modules/example/assets/languages/pt-br.portuguese.php
, and add this
<?php
$lang['Manage Citizen'] = 'Gerenciar Cidadão';
Not sure what you mean by that.
That was my first action, I created the file exacly as you wrote, and nothing happened, so I investigate the generated code after that I opened the issue.
I'll try again later and see what I did wrong.
Okay, let me know if you still got problem doing this.
In the generated code, it should get the "Caption" from translation:
// add navigations $this->add_navigation($this->cms_complete_navigation_name( 'manage_citizen'), 'Manage Citizen',
So we can add translation to different languages without change the generated code.