Translation (template) export API.

Functions

NameLocationDescription
_locale_export_get_stringsincludes/locale.incGenerates a structured array of all strings with translations in $language, if given. This array can be used to generate an export of the string in the database.
_locale_export_poincludes/locale.incWrite a generated PO or POT file to the output.
_locale_export_po_generateincludes/locale.incGenerates the PO(T) file contents for given strings.
_locale_export_remove_pluralincludes/locale.incRemoves plural index information from a string
_locale_export_stringincludes/locale.incPrint out a string on multiple lines
_locale_export_wrapincludes/locale.incCustom word wrapping for Portable Object (Template) files.
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.