CodeEditApp / CodeEditApp/CodeEdit

✨ Automating Localization import/export (genstrings)

未关闭
#556 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Swift
星标
23k
派生
1.2k
PR 合并指标
30 天内没有已合并 PR

描述

### 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).

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。