When starting to use
Mojito, you may already have localized applications. In
that case you can import your translations and start working from there instead
of starting from scratch.
mojito-cli, importing translations with the
import command is really
simple and helps bootstrap quickly a repository. It can also be used to recreate
repository from scratch following a bad manipulation.
The main options of the
import command are the same as the
command. The simplest call being:
mojito import -r MyRepo
The major addition to the
pull options is
that allows you to define the behavior of the import when the “translation” is
the same the source string.
It lets you skip the import or mark the string with special status (approved, translation needed, review needed)
mojito import -r MyRepo --status-equal-target SKIPPED
This option can be useful when the imported localized files were generated using “inheritance”. In that case the translation might not be coming from the locale itself but from a parent locale and in that case you may want not to import it, or maybe review it.