This module provides a translator for all the string that the Gobstones language
components use, together with a Translatorinstance with all available translations.
For that purpose, it uses translations using the
Translator
from @gobstones-core.
The Translatorobject allows for translations in a simple way when you are
using a CLI and also for the errors of different components.
To provide a new language for error messages and CLI interface,
a new Locale must be provided, and added to the availableLocales.
This module provides a translator for all the string that the Gobstones language components use, together with a
Translator
instance with all available translations. For that purpose, it uses translations using theTranslator
from@gobstones-core
.The
Translator
object allows for translations in a simple way when you are using a CLI and also for the errors of different components.To provide a new language for error messages and CLI interface, a new Locale must be provided, and added to the availableLocales.
Author
Pablo E. --Fidel-- Martínez López fidel.ml@gmail.com