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 摘要。