Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ARB #179

Closed
Tienisto opened this issue Dec 14, 2023 · 1 comment
Closed

Support ARB #179

Tienisto opened this issue Dec 14, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Tienisto
Copy link
Member

Tienisto commented Dec 14, 2023

Motivation
Developers might want to use ARB files to avoid risks of technical debt. ARB is a standard set by the Flutter team.

Developer Experience
Support ARB files similar to how other file formats are supported.
Since ARB files don't have nesting, slang shouldn't nest either.

Implementation
Transpile to a slang-native JSON format as an intermediate.
Translations only having one plural should be easy to convert but if a translation has multiple plural parts, then slang might need to use "Linked Translations" to combine multiple parts. This is how the migrate script currently works when converting ARB to JSON.

@Tienisto Tienisto added the enhancement New feature or request label Dec 14, 2023
@Tienisto
Copy link
Member Author

Published in v3.27.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant