Search for language

  1. Search 9.5.x for language
  2. Search 8.9.x for language
  3. Search 10.3.x for language
  4. Search 11.x for language
  5. Other projects
Title Object type File name Summary
LANGUAGE_NONE constant includes/bootstrap.inc The language code used when no language is explicitly assigned.
language_provider_invoke function includes/language.inc Helper function used to cache the language negotiation providers results.
language_provider_weight function includes/language.inc Returns the passed language negotiation provider weight or a default value.
LANGUAGE_RTL constant includes/bootstrap.inc Language written right to left. Possible value of $language->direction.
language_types function includes/bootstrap.inc Returns an array of the available language types.
language_types_configurable function includes/language.inc Returns only the configurable language types.
language_types_disable function includes/language.inc Disables the given language types.
language_types_info function includes/language.inc Returns all the defined language types.
language_types_set function includes/language.inc Updates the language type configuration.
LANGUAGE_TYPE_CONTENT constant includes/bootstrap.inc The type of language used to define the content language.
LANGUAGE_TYPE_INTERFACE constant includes/bootstrap.inc The type of language used to select the user interface.
LANGUAGE_TYPE_URL constant includes/bootstrap.inc The type of language used for URLs.
language_url_split_prefix function includes/language.inc Splits the given path into prefix and actual path.
List of predefined languages group includes/locale.inc API to provide a list of predefined languages.
LocaleBrowserDetectionTest::testLanguageFromBrowser function modules/locale/locale.test Unit tests for the locale_language_from_browser() function.
LocaleCommentLanguageFunctionalTest class modules/locale/locale.test Functional tests for comment language.
LocaleCommentLanguageFunctionalTest::getInfo function modules/locale/locale.test
LocaleCommentLanguageFunctionalTest::setUp function modules/locale/locale.test Sets up a Drupal site for running functional and integration tests.
LocaleCommentLanguageFunctionalTest::testCommentLanguage function modules/locale/locale.test Test that comment language is properly set.
LocaleConfigurationTest::testLanguageConfiguration function modules/locale/locale.test Functional tests for adding, editing and deleting languages.
LocaleContentFunctionalTest::testContentTypeLanguageConfiguration function modules/locale/locale.test Test if a content type can be set to multilingual and language setting is
present on node add and edit forms.
LocaleContentFunctionalTest::testNodeCreationWithLanguage function modules/locale/locale.test Verifies that nodes may be created with different languages.
LocaleImportFunctionalTest::testAutomaticModuleTranslationImportLanguageEnable function modules/locale/locale.test Test automatic import of a module's translation files when a language is
enabled.
LocaleImportFunctionalTest::testLanguageContext function modules/locale/locale.test Test msgctxt context support.
LocaleLanguageNegotiationInfoFunctionalTest class modules/locale/locale.test Functional test for language types/negotiation info.
LocaleLanguageNegotiationInfoFunctionalTest::checkFixedLanguageTypes function modules/locale/locale.test Check that language negotiation for fixed types matches the stored one.
LocaleLanguageNegotiationInfoFunctionalTest::getInfo function modules/locale/locale.test
LocaleLanguageNegotiationInfoFunctionalTest::languageNegotiationUpdate function modules/locale/locale.test Update language types/negotiation information.
LocaleLanguageNegotiationInfoFunctionalTest::setUp function modules/locale/locale.test Sets up a Drupal site for running functional and integration tests.
LocaleLanguageNegotiationInfoFunctionalTest::testInfoAlterations function modules/locale/locale.test Tests alterations to language types/negotiation info.
LocaleLanguageSwitchingFunctionalTest class modules/locale/locale.test Functional tests for the language switching feature.
LocaleLanguageSwitchingFunctionalTest::getInfo function modules/locale/locale.test
LocaleLanguageSwitchingFunctionalTest::setUp function modules/locale/locale.test Sets up a Drupal site for running functional and integration tests.
LocaleLanguageSwitchingFunctionalTest::testLanguageBlock function modules/locale/locale.test Functional tests for the language switcher block.
LocaleLanguageSwitchingFunctionalTest::testNewDisabledLanguage function modules/locale/locale.test Tests that languages can be added as disabled.
LocalePathFunctionalTest::testPathLanguageConfiguration function modules/locale/locale.test Test if a language can be associated with a path alias.
LocaleUILanguageNegotiationTest class modules/locale/locale.test Test UI language negotiation
1. URL (PATH) > DEFAULT
UI Language base on URL prefix, browser language preference has no
influence:
admin/config
UI in site default language
zh-hans/admin/config
UI in Chinese
blah-blah/admin/config
404
2. URL (PATH)…
LocaleUILanguageNegotiationTest::getInfo function modules/locale/locale.test
LocaleUILanguageNegotiationTest::runTest function modules/locale/locale.test
LocaleUILanguageNegotiationTest::setUp function modules/locale/locale.test Sets up a Drupal site for running functional and integration tests.
LocaleUILanguageNegotiationTest::testLanguageDomain function modules/locale/locale.test Tests url() when separate domains are used for multiple languages.
LocaleUILanguageNegotiationTest::testUILanguageNegotiation function modules/locale/locale.test Tests for language switching by URL path.
LocaleUILanguageNegotiationTest::testUrlLanguageFallback function modules/locale/locale.test Test URL language detection when the requested URL has no language.
LocaleUninstallFunctionalTest::$language property modules/locale/locale.test The default language set for the UI before uninstall.
LocaleUpgradePathTestCase::assertPageInLanguage function modules/simpletest/tests/upgrade/upgrade.locale.test Asserts that a page exists and is in the specified language.
LocaleUserLanguageFunctionalTest class modules/locale/locale.test Functional tests for a user's ability to change their default language.
LocaleUserLanguageFunctionalTest::getInfo function modules/locale/locale.test
LocaleUserLanguageFunctionalTest::setUp function modules/locale/locale.test Sets up a Drupal site for running functional and integration tests.
LocaleUserLanguageFunctionalTest::testUserLanguageConfiguration function modules/locale/locale.test Test if user can change their default language.
locale_add_language function includes/locale.inc API function to add a language.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.