Changes between Version 25 and Version 26 of Doc_Plugins


Ignore:
Timestamp:
May 18, 2012 10:37:18 AM (12 months ago)
Author:
thomasb
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc_Plugins

    v25 v26  
    281281First, create php-style localization files that contain the custom texts in an array named {{{$labels}}}, just as in {{{program/localization/*/labels.inc}}}.  
    282282 
    283 Then put these files in a subfolder of your plugin folder and name them like {{{[langcode].inc}}}. The ''langcode'' is a combination of language and country code (see [source:trunk/roundcubemail/program/localization/index.inc] for a list of language codes). Having a localization file named '''en_US.inc''' is mandatory! 
     283Then put these files in a subfolder of your plugin folder and name them like {{{[langcode].inc}}}. The ''langcode'' is a combination of language and country code (see [source:trunk/program/localization/index.inc] for a list of language codes). Having a localization file named '''en_US.inc''' is mandatory! 
    284284 
    285285Finally, tell the plugin API where to search for texts by calling