Jump to content

Module admin sidebar link uses wrong language


Recommended Posts

I'm trying to add my module controller link to admin sidebar according to this guide https://devdocs.prestashop.com/1.7/modules/concepts/controllers/admin-controllers/tabs/

In my module I have link code like this:

public $tabs = array(
        array(
            'name' => array(
                'en' => 'Merchant Expertise',
           		'fr' => 'Expertise PrestaShop',
            ),
            'class_name' => 'Test',
            'visible' => true,
            'parent_class_name' => 'AdminAdvancedParameters',
        ));

My front office uses EN language, but my admin user has selected EN for his profile. Link in sidebar is displayed in FR language instead of EN. What could be wrong ? 

PS 1.7.6.4

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