Skip to content
 
 

Repository files navigation

RunCatLocalization

Manage RunCat localization srtings.

RunCat uses SystemInfoKit, so localization of this library is also required.

Supported languages

  • English (primary)
  • Japanese

Check Strings with GUI

$ sh generate-strings.sh
$ open StringsChecker/StringsChecker.xcodeproj

Build & Run StringsChecker project.

How to Contribute

  1. Add Locale to StringsChecker Target
  2. Edit StringsChecker/Language.swift
    enum Language: String, Identifiable, CaseIterable {
        case english = "en"
        case japanese = "ja"
    +   case newLanguage = "new language code"
    
        var id: String { rawValue }
    
        var locale: Locale {
            Locale(identifier: rawValue)
        }
    
        var title: String {
            return switch self {
            case .english: "🇺🇸 English"
            case .japanese: "🇯🇵 日本語"
    +       case .newLanguage = "🏁 New Language"
            }
        }
    }
  3. Add Locale to xcstrings files in Sources/RunCatLocalization/Resources
  4. Edit those xcstrings files

LICENSE

Apache License Version 2.0

About

Manage RunCat localization srtings.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages