We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Fbt enables use to extract translations for enums I'd like to be able to extract enums from the code
check this https://facebook.github.io/fbt/docs/enums/
<fbt desc="buy prompt"> Buy a new <fbt:enum enum-range={{ CAR: 'car', HOUSE: 'house', BOAT: 'boat', HOUSEBOAT: 'houseboat', }} value={enumVal} />! </fbt>
We have some fixed enums that needs translations, like options in an autocomplete
Right now we are doing manual extraction like this:
"MYENUM.DUPLICATED": "Duplicate", "MYENUM.INVALID": "Invalid", "MYENUM.VALID": "Valid",
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🚀 Feature Proposal
Fbt enables use to extract translations for enums
I'd like to be able to extract enums from the code
check this https://facebook.github.io/fbt/docs/enums/
Motivation
We have some fixed enums that needs translations, like options in an autocomplete
Example
Right now we are doing manual extraction like this:
The text was updated successfully, but these errors were encountered: