mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Running `make i18n-extract` on a en.json file with bad JSON will just wipe off all keys instead of throwing the error. This is very confusing and can lead to a lot of time wasted because there's no indication that the JSON is incorrect. Fixing this. ```release-note NONE ``` |
||
---|---|---|
.. | ||
mmgotool | ||
README.md |
Tools
This directory aims to provide a set of tools that simplify and enhance various development tasks. This README file serves as a guide to help you understand the directory, features of these tools, and how to get started using it. This is a collection of utilities and scripts designed to streamline common development tasks for Mattermost. These tools aim to help automate repetitive tasks and improve productivity.
Included tools
- mmgotool: is a CLI to help with i18n related checks for the mattermost/server development.
Installation & Usage
mmgotool
To install mmgotool
, simply run the following command: go install github.com/mattermost/mattermost/tools/mmgotool
Make sure you have the necessary prerequisites such as Go compiler.
mmgotool i18n
has following subcommands described below:
check
: Check translationscheck-empty-src
: Check for empty translation source stringsclean-empty
: Clean empty translationsextract
: Extract translations