locale.inc

Version 1.42.2.2 (checked in on 2005/07/29 at 19:01:17 by unconed)

Admin-related functions for locale.module.

Functions

NameDescription
_locale_add_languageHelper function to add a language
_locale_admin_export_screenUser interface for the translation export screen
_locale_admin_import_screenUser interface for the translation import screen
_locale_admin_manage_add_screenUser interface for the language addition screen
_locale_admin_manage_screenUser interface for the language management screen
_locale_export_poExports a Portable Object (Template) file for a language
_locale_export_printPrint out a string on multiple lines
_locale_export_remove_pluralRemoves plural index information from a string
_locale_export_wrapCustom word wrapping for Portable Object (Template) files.
_locale_get_iso639_listSome of the common languages with their English and native names
_locale_import_append_pluralModify a string to contain proper count indices
_locale_import_parse_arithmeticParses and sanitizes an arithmetic formula into a PHP expression
_locale_import_parse_headerParses a Gettext Portable Object file header
_locale_import_parse_plural_formsParses a Plural-Forms entry from a Gettext Portable Object file header
_locale_import_parse_quotedParses a string in quotes
_locale_import_poParses Gettext Portable Object file information and inserts into database
_locale_import_read_poParses Gettext Portable Object file into an array
_locale_import_shorten_commentsGenerate a short, one string version of the passed comment array
_locale_import_tokenize_formulaBackward compatible implementation of token_get_all() for formula parsing
_locale_prepare_iso_listPrepares the language code list for a select form item with only the unsupported ones
_locale_string_delete
_locale_string_editUser interface for string editing
_locale_string_language_listList languages in search result table
_locale_string_saveAction handler for string editing
_locale_string_seekPerform a string search and display results in a table
_locale_string_seek_formUser interface for the string search screen
_locale_string_seek_queryBuild object out of search criteria specified in request variables
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.