Skip to content

Instantly share code, notes, and snippets.

@Adair-GA
Adair-GA / locale_fixing.py
Created January 10, 2024 21:02
Fix for FastForward locales
import pathlib
import json
path = pathlib.Path("src/_locales")
c = 0
for locale_dir in path.iterdir():
localc = 0
with open(locale_dir / "messages.json", "r", encoding="utf-8") as f: