TypeStrong / typedoc

Documentation generator for TypeScript projects.
https://typedoc.org
Apache License 2.0
7.66k stars 692 forks source link

How to apply to annotations after adding members to this TranslatableStrings interface #2682

Closed 111yyh closed 1 week ago

111yyh commented 3 weeks ago

Search terms

Question

How to use members after adding members to TranslatableStrings interface?

Gerrit0 commented 3 weeks ago

I have... no idea what you're asking. Plugins which add translatable strings also need to call app.internationalization.addTranslations to declare their defaults by adding entries to the en locale.

Translated text can be retrieved via app.internationalization.translate("someKey", ...args) or with app.i18n.someKey(...args)