CodeEditApp / CodeEditApp/CodeEdit

✨ Automating Localization import/export (genstrings)

Aperta
#556 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Swift
Stelle
23k
Fork
1.2k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Is your feature request related to a problem? Please describe.

Currently it seems that the "en" (English) localization file is created manually. Automating this process will ensure no missing keys as well as streamline the update process

### Describe the solution you'd like

Use `genstrings` to extract the `LocalizedStringsKey` and create the "en" (English) localized file.
https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/LoadingResources/Strings/Strings.html

A script could be added to the project that will regenerate all of the English strings, which later can be used to translate the app to other languages.

### Describe alternatives you've considered

Doing things manually

### Additional context

An automation / DevOps task. If interested, I can submit a PR, although this will require regenerating all of the English strings (thus changing that file completely).

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.