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

Test Fluent.js for complex accessibility strings #992

Open
jessegreenberg opened this issue Nov 14, 2024 · 2 comments
Open

Test Fluent.js for complex accessibility strings #992

jessegreenberg opened this issue Nov 14, 2024 · 2 comments

Comments

@jessegreenberg
Copy link
Contributor

After #990, we are going to try Fluent.js to support i18n for complex accessibility strings.

In this issue Ill track changes and progress. First, we are going to bring Fluent in as a dependency. Then, we are going to try it out with 3 sims. We are then going to test the strings with translators to get feedback.

@jessegreenberg
Copy link
Contributor Author

The latest version of Fluent.js was not compatible with our preload system/sherpa which requires a standalone built file. We found a build in this format at https://www.npmjs.com/package/fluent. It is 5 years old.

We will want to figure out how we can get the latest version. For other POSE reasons, PhET is exploring how we can use a more standard way of importing dependencies. But if that isn't figured out, we will need to find a way to bundle a more recent version of Fluent so it can be used in sherpa.

@jessegreenberg
Copy link
Contributor Author

The above commits complete a first pass at using Fluent in ohms-law for accessibility strings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant