Jump to content

How to add a new language to the panel (Admin UI)


midnightstreamer
 Share

Recommended Posts

Copy the en directory containing all language files for English to another directory. In this example we will use xy.

cp -r /home/midnightstreamer/iptv_midnight_streamer/wwwdir/admin/application/language/en /home/midnightstreamer/iptv_midnight_streamer/wwwdir/admin/application/language/xy

 

Open the form_lang.php language file and edit the $lang['form_panel_language'] variable:

$lang['form_panel_language'] = 'English';

->

$lang['form_panel_language'] = 'Language1';

 

Now the new language will show on both the default language list in General Settings and in the administrator profile:

custom_lang.jpg

 

You can now customize any text of the panel in your own language editing these three files:

  • form_lang.php (file containing translations for fields and hints)
  • help_lang.php (file containing translations for the contextual help)
  • menu_lang.php (file containing translations for the left menu entries)

 

Link to comment
Share on other sites

 Share

×
×
  • Create New...