Languages

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

$domain

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

$path

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

Based on:

load_theme_textdomain( $domain, $path )

0 Comments

Leave a Reply

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