Skip to content

Latest commit

 

History

History
57 lines (40 loc) · 1.54 KB

File metadata and controls

57 lines (40 loc) · 1.54 KB

RunCatLocalization

Manage RunCat localization srtings.

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

Note

This repository does not accept requests or inquiries for RunCat.

Supported languages

  • English (primary)
  • Japanese
  • Korean

Requirements

  • Development with Xcode 16.4+
  • Written in Swift 6.1
  • Compatible with macOS 14.0+

How to Contribute

  1. Edit Sources/RunCatLocalization/RCLLanguage.swift

    public enum RCLLanguage: String, Sendable, Identifiable {
        case automatic
        case english = "en"
        case japanese = "ja"
        case korean = "ko"
    +   case newLanguage = "new language code"
    
        ︙
    
        public static let allCases: [RCLLanguage] = [
            .english,
            .japanese,
            .korean,
    +       .newLanguage
        ]
    }
  2. Add Locale to xcstrings files in Sources/RunCatLocalization/Resources

  3. Edit those xcstrings files

Notes

Please use wording that follows Apple platform conventions. And refer to the Apple Style Guide and Apple Localization Terms Glossary for word choice.

LICENSE

Apache License Version 2.0