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

translation lang enum #126

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

translation lang enum #126

wants to merge 5 commits into from

Conversation

dragazo
Copy link
Contributor

@dragazo dragazo commented Apr 19, 2023

Makes the language inputs in the translation service use an enum for dropdown selection. The supported languages are read the same way getSupportedLanguages used to work. I added support for defineType to accept a Promise for baseParams to do this.

The only possible issue is that we'll have to change doc gen to wait for these promises to resolve. The easy solution is just to wait for a few seconds after starting the services server before running the docs builder, but this PR doesn't address that.

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