Advertisement

switch_to_locale

Switches the translations according to the given locale.

Advertisement

is_rtl

Determines whether the current locale is right-to-left (RTL).

Advertisement

get_available_languages

Get all available languages based on the presence of *.mo files in a given directory.

Advertisement

_get_path_to_translation

Gets the path to a translation file for loading a textdomain just in time.