Jump to content

Recommended Posts

Posted

the plugins link names in "plugin_actions" are not multilanguage in Table: plugin_actions .

 

 

for example , if we install the support manager or client documents or any other plugin that add action , the action name is added to database with the language that has been installed with it .

 

if the plugin installed in admin side in english , and the client has spanish or frensh language set , the link will be shown in english .

 

this is not a bug , as the name set in the table plugin_actions already . what we need is improvement to how to get the action name .

 

1 - make action name inserted in array for every installed language.

array(
   'en_us' => "english name",
   'fr_fr' => "french name",
   'ar_sa' => "arabic name"
 )

the only probleme here is if we install new language in the system , it wil not have any entry for it .

 

2 - load the name from the language file if exist .

 

make client or admin interface has mixed word in two different languages has no sense for me and for my clients .

 

 

 

Posted

i have tough for a easy solution , what i have arrived , as we have already the plugin_id in this table , we can easy get the plugin directory .

we should add a new language to the plugins , let say plugin_name.php .

then load the file plugin/".$plugin_name."/language/".$client_languege."/plugin_name.php .

the file plugin_name.php should only have the plugin name , description , and widget/actions names .

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...