WP HOOKS

Lokalizacja

Hooki tłumaczeń i międzynarodowego formatowania (i18n).

2 akcji22 filtrówrazem 24

Popularne w tej kategorii

gettextfiltr

Filtruje każdy przetłumaczony ciąg tekstowy — pozwala podmieniać teksty w panelu bez edycji plików tłumaczeń.

localefiltr

Zmienia lokalizację witryny — np. w zależności od użytkownika lub kontekstu.

Wszystkie hooki

determine_localefiltr

Filters the locale for the current request.

get_available_languagesfiltr

Filters the list of available language codes.

gettextfiltr

Filters text with its translation.

gettext_{$domain}filtrdynamiczny

Filters text with its translation for a domain.

gettext_with_contextfiltr

Filters text with its translation based on context information.

gettext_with_context_{$domain}filtrdynamiczny

Filters text with its translation based on context information for a domain.

load_script_textdomain_relative_pathfiltr

Filters the relative path of scripts used for finding translation files.

load_script_translation_filefiltr

Filters the file path for loading script translations for the given script handle and text domain.

load_script_translationsfiltr

Filters script translations for the given file, script handle and text domain.

load_textdomainakcja

Fires before the MO translation file is loaded.

load_textdomain_mofilefiltr

Filters MO file path for loading translations for a specific text domain.

load_translation_filefiltr

Filters the file path for loading translations for the given text domain.

localefiltr

Filters the locale ID of the WordPress installation.

ngettextfiltr

Filters the singular or plural form of a string.

ngettext_{$domain}filtrdynamiczny

Filters the singular or plural form of a string for a domain.

ngettext_with_contextfiltr

Filters the singular or plural form of a string with gettext context.

ngettext_with_context_{$domain}filtrdynamiczny

Filters the singular or plural form of a string with gettext context for a domain.

override_load_textdomainfiltr

Filters whether to override the .mo file loading.

override_unload_textdomainfiltr

Filters whether to override the text domain unloading.

pre_determine_localefiltr

Filters the locale for the current request prior to the default determination process.

pre_load_script_translationsfiltr

Pre-filters script translations for the given file, script handle and text domain.

pre_load_textdomainfiltr

Filters whether to short-circuit loading .mo file.

translation_file_formatfiltr

Filters the preferred file format for translation files.

unload_textdomainakcja

Fires before the text domain is unloaded.