Jump to content

How to add a translatable string ?


tiledcode

Recommended Posts

Hello everybody,

 

I have overriden the AdminImportController.php and added a new translatable string to it using the new method.

'attachments' => array('label' => $this->trans('Attachments (x,y,z...)', array(), 'Admin.ToSort'))

When I look at the translation tool in the B.O. neither the new string nor the new domain (Admin.ToSort) is shown.

Is there something more to do ?

 

Thanks :)

 

Edit : Ok, I just read that the new translation system is not supposed to be working for contributor's modules, but should it work for everything else ?

Edited by tiledcode (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...