Posted on November 25, 2016

The Languages config module is responsible to easily load theme textdomain.

Default config path

{{ Project Name_base_dir }}/app/config/languages.json

You can rewrite this path by lf_config_languages_path filter.

Item arguments


(string) (required) Unique identifier for retrieving translated strings.
Default: None


(unknown) (optional) The directory where the .mo file can be found (without the trailing slash).
Default: false

Based on:

load_theme_textdomain( $domain, $path )


Leave a Reply

Your email address will not be published. Required fields are marked *