Skip to content

Country codes for every language #86

@larsb24

Description

@larsb24

Country codes for every language

I recently started using GitLocalize and I encountered the "bug" that some languages support country codes and others not.

Steps to reproduce

  • creating a gitlocalize project and try adding languges that don't have a country code

Repository URL

Any repo.

What is the current bug behavior?

GitLocalize creates only "%languagecode%.json" for languages that don't have a country code but it would be nice to have a "%languagecode%-%countrycode%.json" option for every language
This problem results in some languages being like "de-DE.json" and others being like "pl.json"

What is the expected correct behavior?

A .json file that contains language and country code in the name.

Possible fixes

Add a switch to settings to allow users to enable country code for languages without country code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions