Skip to content

v12.7.1

Choose a tag to compare

@adrai adrai released this 05 Sep 05:23
  • sync: folders that are not languages are no longer created as languages. When
    the language folders are discovered from the path (the default
    {{language}}/{{namespace}} layout without --language/--languages), a
    folder now counts as a language only if its name looks like a language tag
    and either its base subtag is a known language code or it holds a file with
    the same name as a known language folder, so custom codes next to the usual
    en/translation.json keep working. Running locize sync from a repository
    root used to create .git, src or node_modules as languages in the
    project; such folders are now skipped with a warning naming them, and
    --languages still forces any folder through.