motaword CLI application looks for
.motaword/ directory to configure itself. It looks for configuration in this order:
- Working directory
We keep 2 files in this directory:
credentials.json holds your MotaWord API client ID and client secret. This file can be generated via
motaword CLI itself. See Authentication below for more information.
config.json lets you configure all aspects of your
motaword CLI, and especially tailored for
motaword translate command which is typically used in development and CI/CD environments. You can learn more about
translate command below.
Unless you are using
config.json file is optional.
Configuring translation rules
rulesconfiguration is quite versatile to enable the correct directory structure in many use cases. Refer to https://docs.motaword.com/docs/translating#translation-rules for detailed explanation of translation rule configuration.
Updated 5 months ago