Changes between Version 25 and Version 26 of Doc_Plugins
- Timestamp:
- May 18, 2012 10:37:18 AM (12 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Doc_Plugins
v25 v26 281 281 First, create php-style localization files that contain the custom texts in an array named {{{$labels}}}, just as in {{{program/localization/*/labels.inc}}}. 282 282 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!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/program/localization/index.inc] for a list of language codes). Having a localization file named '''en_US.inc''' is mandatory! 284 284 285 285 Finally, tell the plugin API where to search for texts by calling
