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
Translations not saving #976
Comments
I think its related #958 |
Maybe, but #958 is not in 1.0.8 -- it affects bleeding edge / 1.1.x only. I've asked creator of the thread to confirm his version |
x97wehner confirmed he's on bleeding edge, so it's extremely likely this is related to, or even duplicate of issue #958 |
eschiendorfer
pushed a commit
to eschiendorfer/thirtybees
that referenced
this issue
Jul 28, 2020
Since 1.1.0 translations are saved per section. Thirtybees first clears all translation from given section, and then import new translations submitted in form. The clearing mechanism works on prefix bases. If other section starts with the same prefix, its entries would be removed as well. For example, saving `authentication` section would remove all translations from sections `authentication-login` or `authentication-create`. The fix is simple -- don't clear translations at all. Remove only entries if the input post value contain empty string. Closes thirtybees#976
eschiendorfer
pushed a commit
to eschiendorfer/thirtybees
that referenced
this issue
Jul 28, 2020
Since 1.1.0 translations are saved per section. Thirtybees first clears all translation from given section, and then import new translations submitted in form. The clearing mechanism works on prefix bases. If other section starts with the same prefix, its entries would be removed as well. For example, saving `authentication` section would remove all translations from sections `authentication-login` or `authentication-create`. The fix is simple -- don't clear translations at all. Remove only entries if the input post value contain empty string. Closes thirtybees#976
eschiendorfer
pushed a commit
to eschiendorfer/thirtybees
that referenced
this issue
Jul 29, 2020
Since 1.1.0 translations are saved per section. Thirtybees first clears all translation from given section, and then import new translations submitted in form. The clearing mechanism works on prefix bases. If other section starts with the same prefix, its entries would be removed as well. For example, saving `authentication` section would remove all translations from sections `authentication-login` or `authentication-create`. The fix is simple -- don't clear translations at all. Remove only entries if the input post value contain empty string. Closes thirtybees#976
eschiendorfer
pushed a commit
to eschiendorfer/thirtybees
that referenced
this issue
Jul 29, 2020
Since 1.1.0 translations are saved per section. Thirtybees first clears all translation from given section, and then import new translations submitted in form. The clearing mechanism works on prefix bases. If other section starts with the same prefix, its entries would be removed as well. For example, saving `authentication` section would remove all translations from sections `authentication-login` or `authentication-create`. The fix is simple -- don't clear translations at all. Remove only entries if the input post value contain empty string. Closes thirtybees#976
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See https://forum.thirtybees.com/topic/3152-translations-not-saving
The text was updated successfully, but these errors were encountered: