Skip to content

Document built-in plural rules in Localization using spreadsheets#12049

Open
Calinou wants to merge 1 commit into
godotengine:masterfrom
Calinou:localization-spreadsheets-builtin-plural-rules
Open

Document built-in plural rules in Localization using spreadsheets#12049
Calinou wants to merge 1 commit into
godotengine:masterfrom
Calinou:localization-spreadsheets-builtin-plural-rules

Conversation

@Calinou

@Calinou Calinou commented Jun 9, 2026

Copy link
Copy Markdown
Member

Godot provides built-in plural rules which are automatically used when no plural rules are defined in the CSV file. In most cases, there is no need to have a ?pluralrule row in the CSV file.

Note that this PR will fail CI until #12051 is merged. I can then rebase this PR and add tutorials/i18n/plural_rules.rst to the codespell skip list.

Thanks to @Yngwarr for providing the human-readable list of plural forms used in this PR 🙂

@Calinou Calinou requested a review from a team as a code owner June 9, 2026 23:27
@Calinou Calinou added the area:manual Issues and PRs related to the Manual/Tutorials section of the documentation label Jun 9, 2026
@Calinou Calinou requested a review from a team as a code owner June 9, 2026 23:27
@Calinou Calinou added the topic:i18n Related to internationalization. label Jun 9, 2026
@Calinou Calinou force-pushed the localization-spreadsheets-builtin-plural-rules branch 2 times, most recently from 50ee31d to d614bb8 Compare June 9, 2026 23:29
Comment thread tutorials/i18n/plural_rules.rst Outdated
Comment thread tutorials/i18n/plural_rules.rst Outdated
Comment thread tutorials/i18n/plural_rules.rst Outdated
Comment thread tutorials/i18n/plural_rules.rst Outdated
Comment thread tutorials/i18n/plural_rules.rst Outdated
Comment thread tutorials/i18n/plural_rules.rst Outdated
@Calinou Calinou force-pushed the localization-spreadsheets-builtin-plural-rules branch from d614bb8 to 203fea1 Compare June 10, 2026 16:31
@mhilbrunner

Copy link
Copy Markdown
Member

Needs a CI fix / rebase :)

Godot provides built-in plural rules which are automatically used
when no plural rules are defined in the CSV file.
In most cases, there is no need to have a `?pluralrule` row in the
CSV file.

Co-authored-by: Yngvarr <k.yngvarr@gmail.com>
@Calinou Calinou force-pushed the localization-spreadsheets-builtin-plural-rules branch from 203fea1 to b4c3627 Compare June 25, 2026 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:manual Issues and PRs related to the Manual/Tutorials section of the documentation enhancement topic:i18n Related to internationalization.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants