Contributions API

Calling all Drupal developers!

Help us get this on the first page of Digg. DIGG NOW!

Modules in 5

i18n.module

Version

1.36.2.16.2.1 (checked in on 2007/12/04 at 20:17:44 by jareyero)

Description

Internationalization (i18n) module

@author Jose A. Reyero, 2004

Constants

Namesort iconDescription
LANGUAGE_SUPPORT_EXTENDED
LANGUAGE_SUPPORT_NONE
LANGUAGE_SUPPORT_NORMAL

Functions

Namesort iconDescription
i18n_admin_manage_screen_submitSave language settings in variable
i18n_admin_settingsForm builder function.
i18n_blockLanguage block
i18n_form_alterImplementation of hook_form_alter
i18n_form_alter_settingsCheck for multilingual variables in form
i18n_frontpageLanguage dependent front page This function will search for aliases like 'en/home', 'es/home'...
i18n_get_browser_langGet language from browser settings, but only if it is a valid language
i18n_get_langThis one expects to be called first from common.inc
i18n_get_lang_prefixGet language code from path.
i18n_get_linksFunction i18n_get_links
i18n_get_normal_pathThis function is similar to drupal_get_normal_path, but language-aware Also removes language from path
i18n_helpImplementation of hook_help().
i18n_languagesGet locale languages plus i18n language settings
i18n_language_listGet localized language list, sort alphabetically
i18n_language_propertyGet language properties
i18n_language_rtlCheck whether language is RTL
i18n_menuImplementation of hook_menu(). Modify rewriting conditions when viewing specific nodes
i18n_menu_edit_item_form_submitProcess menu and menu item add/edit form submissions.
i18n_nodeapiImplementation of hook_nodeapi().
i18n_node_get_langGet node language
i18n_node_language_listGet allowed languages for node
i18n_pathProduces i18n paths, with language prefix If path is empty or site frontpage, path = 'lang' Check for frontpage and search for alias before adding language
i18n_permImplementation of hook_perm().
i18n_supported_languagesGet list of supported languages
i18n_taxonomyImplementation of hook_taxonomy
i18n_userImplementation of hook_user()
i18n_variable_delUnset a persistent multilingual variable.
i18n_variable_form_submitSave multilingual variables and remove them from form
i18n_variable_setSet a persistent language dependent variable.
theme_i18n_admin_manage_screenTheme the locale admin manager form.
_i18n_get_langGets language, checking in order:
_i18n_get_original_pathTo get the original path. Cannot use $_GET["q"] cause it may have been already changed
_i18n_is_bootstrap
_i18n_locale_supported_languagesReturns list of enabled languages from locale module
_i18n_selection_mode
_i18n_set_db_prefixSets db_prefix to given language