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

Allow extract or set translation key with empty string #1225

Open
cnwangjie opened this issue Oct 28, 2024 · 0 comments
Open

Allow extract or set translation key with empty string #1225

cnwangjie opened this issue Oct 28, 2024 · 0 comments

Comments

@cnwangjie
Copy link

Is your feature related to a specific framework or general for this extension

General

Is your feature request related to a problem? Please describe.

In my project, the copywriting is set by a dedicated team. Therefore, I only need to provide an i18n key. So I am developing through the TFunction call method. However, I cannot extract the key to a JSON file to provide it for translation to other teams.

Describe the solution you'd like

Now i18n-ally supports setting text for non-existent keys. You just need to allow empty strings to be set.

Additional context

image

As the image, I can set a text for a non-existent key. But I cannot set an empty string. We need an empty string to extract the text is enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant