Skip to content

Add Fluent for internationalization#61

Draft
ittipatken wants to merge 13 commits intoankitects:mainfrom
ittipatken:i18n
Draft

Add Fluent for internationalization#61
ittipatken wants to merge 13 commits intoankitects:mainfrom
ittipatken:i18n

Conversation

@ittipatken
Copy link

@ittipatken ittipatken commented Sep 30, 2025

Related issue: #53

Feedback is very welcome.

@ittipatken ittipatken marked this pull request as draft September 30, 2025 10:53
th: resourcesTh,
};

export function generateBundles(locale: string): FluentBundle[] {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we need to implement fallback to English here. The desktop app adds English as the last bundle:
https://github.com/ankitects/anki/blob/76d3237139b3e73b98f5a5b4dfeeeea2f0554644/rslib/i18n/src/lib.rs#L295

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