Skip to content

translation lang enum#126

Open
dragazo wants to merge 5 commits intomainfrom
translation-lang-enum
Open

translation lang enum#126
dragazo wants to merge 5 commits intomainfrom
translation-lang-enum

Conversation

@dragazo
Copy link
Copy Markdown
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