Jump to content

Translations from overridden files


Recommended Posts

Hello,

I have created a module that overrides the AdminCategoriesController.php file and adds a new field on the category form. It works well but i can't figure out how i could translate the label or the hint for that field.

I saw in the source code that, when you want to translate a module, the parser excludes override folders: https://github.com/PrestaShop/PrestaShop/blob/develop/controllers/admin/AdminTranslationsController.php#L1023 

 How can i translate the strings from that kind of file?

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...