#390

Product support

Visit this product's website for support.

Categories

  • Developer Tools

This command will scan all your Yaml files. It will look for new language keys inside yaml files and add them into your lang/{lang-code}/lang.php file.

By example if you have the following file inside your plugin, this command will add the inetis.testplugin::lang.user.name string to your lang file with for default value NEW_name that help you to quickly find not already translated items.

user_name:
    label: inetis.testplugin::lang.user.name
    span: auto
    type: text

Command

php artisan localize:addstrings {Plugin.Name} {Lang}
Parameter Definition Exemple
First name of the plugin Rainlab.Page
Second language abbreviation en

If the destination language doesn't exist, this plugin will create it.

Dependency

This plugin required Rainlab.Builder

Support

Please use GitHub Issues to report any issues with this plugin.

Reviews should not be used for getting support or reporting bugs, if you need support please use the Plugin support link.

These plugin(s) are required for the plugin:

Command

php artisan localize:addstrings {Plugin.Name} {Lang}
Parameter Definition Exemple
First name of the plugin Rainlab.Page
Second language abbreviation en

If the destination language doesn't exist, this plugin will create it.

1.0.1

First version of Localise

Dec 18, 2017