Skip to content

docs(rfc-i18n): device language joins the startup resolution - #892

Merged
apotema merged 2 commits into
mainfrom
docs/i18n-device-locale-v2
Sep 28, 2026
Merged

apotema merged 2 commits into
mainfrom
docs/i18n-device-locale-v2

Conversation

@leonardomag31-lab

@leonardomag31-lab leonardomag31-lab commented Sep 24, 2026 •

Copy link
Copy Markdown
Collaborator

Part of Flying-Platform/flying-platform-labelle#917. Docs only: RFC-I18N §8 — OS language detection moves from non-goal to the startup resolution, above .default and below the player's choice; documents the window.systemLocale backend seam and applySystemLocale matching rules.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

OS detection was a non-goal "until one game actually wants it";
flying-platform#917 does. It slots in where §8 said it would: above
.default, below the player's own choice. Documents the backend seam
(window.systemLocale) and the matching rules applySystemLocale uses.
@coderabbitai

coderabbitai Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 22d856fb-8a58-41cb-8448-d64815c71be9


Comment @coderabbitai help to get the list of available commands.

@leonardomag31-lab

leonardomag31-lab commented Sep 24, 2026 •

Copy link
Copy Markdown
Collaborator Author

FP side: https://github.com/moca-tecnologia/flying-platform-labelle/pull/936 (bumps the pins after this is released).

@apotema apotema left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. It matches the implementation in labelle-bgfx#135 and labelle-assembler#753: the resolution order, @hasDecl optionality, and the exact → language → same-language matching. Please merge it together with assembler#753, so the RFC doesn't describe behaviour that hasn't shipped yet.

@apotema
apotema merged commit 28dd1d7 into main Sep 28, 2026
4 checks passed
@apotema
apotema deleted the docs/i18n-device-locale-v2 branch September 28, 2026 19:29
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.

2 participants