Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lokalise key sorting different as I18n ally #1102

Open
cornevin opened this issue Mar 5, 2024 · 1 comment
Open

Lokalise key sorting different as I18n ally #1102

cornevin opened this issue Mar 5, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@cornevin
Copy link

cornevin commented Mar 5, 2024

Describe the bug

Extension Version
i18n Ally

Framework/i18n package you are using
react-i18next

To Reproduce
I have a json file sync with Lokalise by the Github integration.

I18n Ally with the config:
Sort Compare: locale
Sort Locale: en

Move my keys in this order:

{
  "table": {
     ...
  },  
  "table-filters": {
      ...
   }
}

But when I export back from Lokalise with the github integration with in localize the configuration: Sort keys by: Key name A-Z
It's mixing the two keys this way causing false merge conflict:

{
  "table-filters": {
      ...
   },
  "table": {
     ...
  }
}

Is there a way to have Lokalize and I18n Ally to sort the keys in the same order ?

@cornevin cornevin added the bug Something isn't working label Mar 5, 2024
@adrael
Copy link

adrael commented Mar 5, 2024

Yes please we have the same issue and it is a pain to manage 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants