Skip to content

all-ride/ride-cli-i18n

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ride: I18n CLI

This module adds various I18n commands to the Ride CLI.

Commands

locales

This command shows an overview of the defined locales.

Syntax: locales

Alias: l

translation

This command shows an overview of the defined translations.

Syntax: translation <locale> [<query>]

  • <locale>: Locale of the translation
  • <query>: Query to search the translations

Alias: t

translation set

This command sets a translation from the provided locale.

Syntax: translation set <locale> <key> <translation>

  • <locale>: Locale of the translation
  • <key>: Key of the translation
  • <translation>: Value for the translation

Alias: ts

translation unset

This command unsets a translation from the provided locale.

Syntax: translation unset <locale> <key>

  • <locale>: Locale of the translation
  • <key>: Key of the translation

Alias: tu

translation missing

This command makes sure all locales have the same keys defined by adding translation keys which are missing but defined in an other locale.

Syntax: translation missing

Alias: tm

Related Modules

Installation

You can use Composer to install this application.

composer require ride/cli-i18n

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages