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

Statically generate available languages for frontend clients #11656

Open
jacobtylerwalls opened this issue Nov 26, 2024 · 1 comment
Open

Statically generate available languages for frontend clients #11656

jacobtylerwalls opened this issue Nov 26, 2024 · 1 comment

Comments

@jacobtylerwalls
Copy link
Member

jacobtylerwalls commented Nov 26, 2024

@johnatawnclementawn suggested in archesproject/arches-vue-utils#5 to use the string "None" for a label search that finds no results.

That led me to:

I like this idea, but the problem is that we'd need to localize it, and we don't currently have a way to use gettext in js/ts files. The recommendation is to expose the result of createGettext in its own file, but we create it dynamically after making a call to the backend to get available languages.

We might want to make the languages a little more static following the lead of #11571. I'll open a core issue to discuss it with @chrabyrd.

Originally posted by @jacobtylerwalls in archesproject/arches-vue-utils#5 (review)

@chiatt chiatt added this to pipeline Nov 26, 2024
@jacobtylerwalls
Copy link
Member Author

Related: #10962

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

No branches or pull requests

1 participant