Extract all strings to a predefined file.
choose where to extract strings among multiple files within the default locale (namespaces, domains).
Format to store placeholder name in a language file.
Generate key names from the source string.
Hello world! ➞ hello_world
Hello world! ➞ helloWorld
Hello world! ➞ Hello world!
Select symbol for nesting keys inside language files.
Here is a yaml example for a key homepage.features.title
with dot as a nesting separator will be decomposed into:
Extract strings into this locale. Could be in any format: en, en_US, en-US, english, etc.
Will be used in the “Language file name template”
A folder that contains language files for all locales. For example:
/lang/messages.en.yaml
– select /lang
folder,/lang/en/app.php
– select /lang
folder.A template to build a filename where to extract strings. Will be appended to translations directory and should not start with.
%namespace%
– will use a namespace selected during extraction. Available options are listed in the Namespaces list.%locale%
– will use a Default locale specified in preferences.A comma-separated list of namespace part in the language file name. For example:
messages+intl-icu.en.xlf
– messages
is a namespace,en/app_lang.php, en/promo_lang.php
– app, promo
are namespaces.The first namespace in the list is considered a default one and can be configured in the Sources section to be skipped:
trans('key')
– for default (first) namespace,trans('key', [], 'non-default-namespace')
– for other namespaces.