Skip to content

#502 Czech and Slovak l10n added#503

Open
robco wants to merge 2 commits into
cogwheel0:mainfrom
robco:feature/cs-sk-l10n
Open

#502 Czech and Slovak l10n added#503
robco wants to merge 2 commits into
cogwheel0:mainfrom
robco:feature/cs-sk-l10n

Conversation

@robco

@robco robco commented Jun 7, 2026

Copy link
Copy Markdown

#502 implemented

Greptile Summary

This PR adds Czech (cs) and Slovak (sk) localization files to the Flutter app, each containing a complete set of 779 translation keys matching the English template. The l10n.yaml file is updated to include both new locales in preferred-supported-locales.

  • lib/l10n/app_cs.arb and app_sk.arb: New locale files covering all existing string keys, including correct three-form plural rules (one, few, other) required by both Czech and Slovak — e.g., deleteMessagesMessage, wordCount, charCount, quickActionsSelectedCount, channelMembers, and count-based subtitle strings.
  • l10n.yaml: Two new entries (cs, sk) appended to preferred-supported-locales, consistent with the existing pattern for other locales.

Confidence Score: 5/5

Safe to merge — the changes are purely additive locale files with no modifications to existing code paths.

Both ARB files are complete (779 keys each, matching English), correctly declare @@Locale, and implement the three-form plural categories (one/few/other) required by Czech and Slovak throughout all pluralized strings. The l10n.yaml update is minimal and correct. No logic changes, no regressions.

No files require special attention.

Important Files Changed

Filename Overview
l10n.yaml Adds cs and sk to preferred-supported-locales; minimal, correct change consistent with existing entries.
lib/l10n/app_cs.arb New Czech locale with 779 keys matching the English template; all plural strings include the required one/few/other categories for Czech.
lib/l10n/app_sk.arb New Slovak locale with 779 keys matching the English template; all plural strings include the required one/few/other categories for Slovak.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A["l10n.yaml\npreferred-supported-locales"] -->|adds cs, sk| B["Flutter l10n codegen"]
    B --> C["app_localizations.dart"]
    C --> D["AppLocalizations.of(context)"]
    D --> E["app_cs.arb\n779 Czech strings"]
    D --> F["app_sk.arb\n779 Slovak strings"]
    E --> G["Plural: one / few / other\ne.g. quickActionsSelectedCount\nchannelMembers, wordCount…"]
    F --> G
Loading

Reviews (2): Last reviewed commit: "Plurals improved for czech and slovak." | Re-trigger Greptile

@robco robco changed the title Czech and Slovak l10n added #502 Czech and Slovak l10n added Jun 7, 2026
Comment thread lib/l10n/app_cs.arb Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant