├── .gitignore ├── LICENSE ├── README.MD ├── Sample Files ├── basic.xcstrings ├── basic_org.xcstrings ├── devicevarations.xcstrings ├── devicevarations_short.xcstrings └── variations.xcstrings ├── XCStringsEditor.png ├── XCStringsEditor.xcodeproj ├── project.pbxproj └── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ └── IDEWorkspaceChecks.plist ├── XCStringsEditor ├── APIs │ ├── BaiduAPI.swift │ ├── DeepLAPI.swift │ ├── GoogleAPI.swift │ └── LLMAPI.swift ├── AppDelegate.swift ├── Assets.xcassets │ ├── AccentColor.colorset │ │ └── Contents.json │ ├── AppIcon.appiconset │ │ ├── Contents.json │ │ ├── icon_128x128.png │ │ ├── icon_128x128@2x@2x.png │ │ ├── icon_16x16.png │ │ ├── icon_16x16@2x@2x.png │ │ ├── icon_256x256.png │ │ ├── icon_256x256@2x@2x.png │ │ ├── icon_32x32.png │ │ ├── icon_32x32@2x@2x.png │ │ ├── icon_512x512.png │ │ └── icon_512x512@2x@2x.png │ └── Contents.json ├── ContentView.swift ├── Controls │ └── FileDropView.swift ├── Extensions │ └── UserDefaults+Keys.swift ├── Helper │ ├── NetworkManager.swift │ ├── Protocols │ │ ├── API.swift │ │ └── Translator.swift │ └── Translate │ │ ├── DeepL.swift │ │ ├── GoogleTranslate.swift │ │ ├── LanguageRecognizer.swift │ │ └── TranslateService.swift ├── Info.plist ├── ItemStateView.swift ├── Localizable.xcstrings ├── Model │ ├── AppModel+DeepL.swift │ ├── AppModel+GoogleTranslate.swift │ ├── AppModel.swift │ ├── Detection.swift │ ├── FileSettings.swift │ ├── InputModel.swift │ ├── Language.swift │ ├── LocalizeItem.swift │ ├── SupportLanguage.swift │ ├── TranslatorError.swift │ ├── TranslatorFactory.swift │ └── XCStrings.swift ├── Preview Content │ └── Preview Assets.xcassets │ │ └── Contents.json ├── SettingsView.swift ├── TranslationStatus.swift ├── Translators │ ├── BaiduTranslator.swift │ ├── DeepLTranslator.swift │ ├── GoogleTranslator.swift │ └── LLMTranslator.swift ├── WelcomeView.swift ├── WindowDelegate.swift ├── XCStringEditor.entitlements └── XCStringEditorApp.swift └── XCStringsEditorIcon.png /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/LICENSE -------------------------------------------------------------------------------- /README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/README.MD -------------------------------------------------------------------------------- /Sample Files/basic.xcstrings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/Sample Files/basic.xcstrings -------------------------------------------------------------------------------- /Sample Files/basic_org.xcstrings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/Sample Files/basic_org.xcstrings -------------------------------------------------------------------------------- /Sample Files/devicevarations.xcstrings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/Sample Files/devicevarations.xcstrings -------------------------------------------------------------------------------- /Sample Files/devicevarations_short.xcstrings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/Sample Files/devicevarations_short.xcstrings -------------------------------------------------------------------------------- /Sample Files/variations.xcstrings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/Sample Files/variations.xcstrings -------------------------------------------------------------------------------- /XCStringsEditor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor.png -------------------------------------------------------------------------------- /XCStringsEditor.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /XCStringsEditor.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /XCStringsEditor.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /XCStringsEditor/APIs/BaiduAPI.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/APIs/BaiduAPI.swift -------------------------------------------------------------------------------- /XCStringsEditor/APIs/DeepLAPI.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/APIs/DeepLAPI.swift -------------------------------------------------------------------------------- /XCStringsEditor/APIs/GoogleAPI.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/APIs/GoogleAPI.swift -------------------------------------------------------------------------------- /XCStringsEditor/APIs/LLMAPI.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/APIs/LLMAPI.swift -------------------------------------------------------------------------------- /XCStringsEditor/AppDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/AppDelegate.swift -------------------------------------------------------------------------------- /XCStringsEditor/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Assets.xcassets/AccentColor.colorset/Contents.json -------------------------------------------------------------------------------- /XCStringsEditor/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /XCStringsEditor/Assets.xcassets/AppIcon.appiconset/icon_128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Assets.xcassets/AppIcon.appiconset/icon_128x128.png -------------------------------------------------------------------------------- /XCStringsEditor/Assets.xcassets/AppIcon.appiconset/icon_128x128@2x@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Assets.xcassets/AppIcon.appiconset/icon_128x128@2x@2x.png -------------------------------------------------------------------------------- /XCStringsEditor/Assets.xcassets/AppIcon.appiconset/icon_16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Assets.xcassets/AppIcon.appiconset/icon_16x16.png -------------------------------------------------------------------------------- /XCStringsEditor/Assets.xcassets/AppIcon.appiconset/icon_16x16@2x@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Assets.xcassets/AppIcon.appiconset/icon_16x16@2x@2x.png -------------------------------------------------------------------------------- /XCStringsEditor/Assets.xcassets/AppIcon.appiconset/icon_256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Assets.xcassets/AppIcon.appiconset/icon_256x256.png -------------------------------------------------------------------------------- /XCStringsEditor/Assets.xcassets/AppIcon.appiconset/icon_256x256@2x@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Assets.xcassets/AppIcon.appiconset/icon_256x256@2x@2x.png -------------------------------------------------------------------------------- /XCStringsEditor/Assets.xcassets/AppIcon.appiconset/icon_32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Assets.xcassets/AppIcon.appiconset/icon_32x32.png -------------------------------------------------------------------------------- /XCStringsEditor/Assets.xcassets/AppIcon.appiconset/icon_32x32@2x@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Assets.xcassets/AppIcon.appiconset/icon_32x32@2x@2x.png -------------------------------------------------------------------------------- /XCStringsEditor/Assets.xcassets/AppIcon.appiconset/icon_512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Assets.xcassets/AppIcon.appiconset/icon_512x512.png -------------------------------------------------------------------------------- /XCStringsEditor/Assets.xcassets/AppIcon.appiconset/icon_512x512@2x@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Assets.xcassets/AppIcon.appiconset/icon_512x512@2x@2x.png -------------------------------------------------------------------------------- /XCStringsEditor/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /XCStringsEditor/ContentView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/ContentView.swift -------------------------------------------------------------------------------- /XCStringsEditor/Controls/FileDropView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Controls/FileDropView.swift -------------------------------------------------------------------------------- /XCStringsEditor/Extensions/UserDefaults+Keys.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Extensions/UserDefaults+Keys.swift -------------------------------------------------------------------------------- /XCStringsEditor/Helper/NetworkManager.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Helper/NetworkManager.swift -------------------------------------------------------------------------------- /XCStringsEditor/Helper/Protocols/API.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Helper/Protocols/API.swift -------------------------------------------------------------------------------- /XCStringsEditor/Helper/Protocols/Translator.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Helper/Protocols/Translator.swift -------------------------------------------------------------------------------- /XCStringsEditor/Helper/Translate/DeepL.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Helper/Translate/DeepL.swift -------------------------------------------------------------------------------- /XCStringsEditor/Helper/Translate/GoogleTranslate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Helper/Translate/GoogleTranslate.swift -------------------------------------------------------------------------------- /XCStringsEditor/Helper/Translate/LanguageRecognizer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Helper/Translate/LanguageRecognizer.swift -------------------------------------------------------------------------------- /XCStringsEditor/Helper/Translate/TranslateService.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Helper/Translate/TranslateService.swift -------------------------------------------------------------------------------- /XCStringsEditor/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Info.plist -------------------------------------------------------------------------------- /XCStringsEditor/ItemStateView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/ItemStateView.swift -------------------------------------------------------------------------------- /XCStringsEditor/Localizable.xcstrings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Localizable.xcstrings -------------------------------------------------------------------------------- /XCStringsEditor/Model/AppModel+DeepL.swift: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /XCStringsEditor/Model/AppModel+GoogleTranslate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Model/AppModel+GoogleTranslate.swift -------------------------------------------------------------------------------- /XCStringsEditor/Model/AppModel.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Model/AppModel.swift -------------------------------------------------------------------------------- /XCStringsEditor/Model/Detection.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Model/Detection.swift -------------------------------------------------------------------------------- /XCStringsEditor/Model/FileSettings.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Model/FileSettings.swift -------------------------------------------------------------------------------- /XCStringsEditor/Model/InputModel.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Model/InputModel.swift -------------------------------------------------------------------------------- /XCStringsEditor/Model/Language.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Model/Language.swift -------------------------------------------------------------------------------- /XCStringsEditor/Model/LocalizeItem.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Model/LocalizeItem.swift -------------------------------------------------------------------------------- /XCStringsEditor/Model/SupportLanguage.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Model/SupportLanguage.swift -------------------------------------------------------------------------------- /XCStringsEditor/Model/TranslatorError.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Model/TranslatorError.swift -------------------------------------------------------------------------------- /XCStringsEditor/Model/TranslatorFactory.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Model/TranslatorFactory.swift -------------------------------------------------------------------------------- /XCStringsEditor/Model/XCStrings.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Model/XCStrings.swift -------------------------------------------------------------------------------- /XCStringsEditor/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Preview Content/Preview Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /XCStringsEditor/SettingsView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/SettingsView.swift -------------------------------------------------------------------------------- /XCStringsEditor/TranslationStatus.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/TranslationStatus.swift -------------------------------------------------------------------------------- /XCStringsEditor/Translators/BaiduTranslator.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Translators/BaiduTranslator.swift -------------------------------------------------------------------------------- /XCStringsEditor/Translators/DeepLTranslator.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Translators/DeepLTranslator.swift -------------------------------------------------------------------------------- /XCStringsEditor/Translators/GoogleTranslator.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Translators/GoogleTranslator.swift -------------------------------------------------------------------------------- /XCStringsEditor/Translators/LLMTranslator.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/Translators/LLMTranslator.swift -------------------------------------------------------------------------------- /XCStringsEditor/WelcomeView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/WelcomeView.swift -------------------------------------------------------------------------------- /XCStringsEditor/WindowDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/WindowDelegate.swift -------------------------------------------------------------------------------- /XCStringsEditor/XCStringEditor.entitlements: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/XCStringEditor.entitlements -------------------------------------------------------------------------------- /XCStringsEditor/XCStringEditorApp.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditor/XCStringEditorApp.swift -------------------------------------------------------------------------------- /XCStringsEditorIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiles/XCStringsEditor/HEAD/XCStringsEditorIcon.png --------------------------------------------------------------------------------