Content Parser

This service parses translations from Google Sheets and returns ZIP archives containing one JSON file per locale.

Open Swagger documentation
Automate with a Makefile
  1. Save the snippet below as Makefile in your project root.
  2. Replace {your_platform} with the endpoint you need (e.g. android, ios, desktop, web/client, etc).
  3. Replace {your_dir_with_locales} with the target directory for the extracted files.
  4. Run make update-content to fetch and unpack the latest translations.
# Usage example: make update-content
URL  = https://mxp-parser.cc/translations/{your_platform}
DEST = ./{your_dir_with_locales}
TMP  = /tmp/content.zip

update-content:
	@echo "๐Ÿ“ฅ Downloading content from: $(URL)..."
	@curl -fL "$(URL)" -o $(TMP)

	@echo "๐Ÿงน Cleaning up directory: $(DEST)..."
	@rm -rf $(DEST)
	@mkdir -p $(DEST)

	@echo "๐Ÿ“ฆ Extracting archive to: $(DEST)..."
	@unzip -o $(TMP) -d $(DEST)

	@echo "๐Ÿ—‘๏ธ Removing temporary files..."
	@rm $(TMP)

	@echo "โœ… Update complete! Files saved to: $(DEST)"

.PHONY: update-content
Backend
Desktop
Mobile