Difference between revisions of "Translating Plugin"

(Created page with "Translation of the plugin can be done with language files.<br/> Every JomSocial plugin that contains elements which can be translated, have its own respective language file.<b...")
 
(Direct Overrides From 4.1)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Translation of the plugin can be done with language files.<br/>
+
==Overview==
 +
Translation of the plugin can be done with language files.
 +
 
 +
==Language Files==
 
Every JomSocial plugin that contains elements which can be translated, have its own respective language file.<br/>
 
Every JomSocial plugin that contains elements which can be translated, have its own respective language file.<br/>
 
As all plugin, Joomla stores the language files for plugins in '''administrator''' folder of the site, so please navigate to  
 
As all plugin, Joomla stores the language files for plugins in '''administrator''' folder of the site, so please navigate to  
* ROOT/administrator/language/en-GB
+
* '''ROOT/administrator/language/en-GB''' - This is the default Joomla language folder for administrative side of site, and unlike modules and components, all plugin related language files will be stored here, regardless if they are active on Front End, or Back End.
This is the default Joomla language folder for administrative side of site, and unlike modules and components, all plugin related language files will be stored here, regardless if they are active on Front End, or Back End
+
  
 
The filename's that are of interest to us will in most cases have this format
 
The filename's that are of interest to us will in most cases have this format
Line 10: Line 12:
  
 
Where pluginname stands for the respective plugin that translation is made for.<br/>
 
Where pluginname stands for the respective plugin that translation is made for.<br/>
Editing these files, you can easily translate every jomSocial plugin.
+
Editing these files, you can easily translate every JomSocial plugin.
 +
 
 +
==Direct Overrides <span class="label label-success">From 4.1</span>==
 +
Starting from JomSocial 4.1, you can easily change the name, description and the favicon in the backend configuration of the plugin.</br>
 +
If you have multilingual site, [[Translate Elements]] will work for Display Name and Description field too

Latest revision as of 08:56, 6 August 2015

Overview

Translation of the plugin can be done with language files.

Language Files

Every JomSocial plugin that contains elements which can be translated, have its own respective language file.
As all plugin, Joomla stores the language files for plugins in administrator folder of the site, so please navigate to

  • ROOT/administrator/language/en-GB - This is the default Joomla language folder for administrative side of site, and unlike modules and components, all plugin related language files will be stored here, regardless if they are active on Front End, or Back End.

The filename's that are of interest to us will in most cases have this format

  • en-GB.plg_community_pluginname.ini

Where pluginname stands for the respective plugin that translation is made for.
Editing these files, you can easily translate every JomSocial plugin.

Direct Overrides From 4.1

Starting from JomSocial 4.1, you can easily change the name, description and the favicon in the backend configuration of the plugin.</br> If you have multilingual site, Translate Elements will work for Display Name and Description field too