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

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More