-
-
Notifications
You must be signed in to change notification settings - Fork 811
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
[BUG] Contenttype translation updates automatically any time #5703
Comments
hey! Can anybody fix this? |
heeeeeeeeeeeey!!! |
Those translations are currently distributed by Bolt, as that part of the translations is not quote finished. |
Can I disable translation auto-generation? I need my translation for my contenttypes |
Hi, No, you cannot do that currently.. If you really wish to prevent Bolt from updating the files, you should edit them in an external editor. |
@sibputnik I don’t know what’s goes wrong on your side but it absolutely should work. The date you see in the editor is always a new date as it is the date the file is generated and not the date the file is written. When opening the translation page the file is read, data extracted, missing translations get added, translations get sorted by category. So no user edited translations are overwritten. Could it be that your translations won’t be actually saved at all? (Btw, removing access rights to that file sends us to the debbugger with an |
bobdenotter, I edit translation in external editor, but it recreates each time I open backend (any part of backend) |
@sibputnik You mean |
In russian not all can be auto-translated by flat logic, so after auto-translation I need correct it by hands. |
@sibputnik Could it be that you didn’t remove the comment sign |
Just a note, Russian is one of the great examples of why we need to look very seriously at how we're (not properly) using Symfony's translation component … Apparently, Russian isn't very forgiving as a language in this way 😄 |
@rarila where I need to remove # ? Any special line or near changed line? |
Automatic translation of ContentTypes was removed in #6802 and it is now possible to specify site specific translation files. This will land in a stable release in the coming days when 3.3.0 is tagged. |
Bolt uses auto-created translation for contenttypes in backend any time. When I go to "translation-contenttypes" I have newly created app/resources/translations/ru/contenttypes.ru.yml any time.
What I done:
And now I can refresh contenttypes translatin page and have new generates translation each time. I can change contenttypes.ru.yml by external editor or in Bolt backend, but it not give any changes - contenttype options in backend is still without translation.
Each time I open contenttypes.ru.yml, I see new creation time in first line (e.g. # app/resources/translations/en_GB/contenttypes.ru.yml – generated on 2016-08-24 15:44:53 Europe/Moscow)
I can change contenttypes.entries.text.* or contenttypes.showcases values and it saves. But if I change translation for my contenttype, it not saves,
I set locale to en_Gb and have same problem.
My contenttypes works correctly in backend and frontend (templates).
Details
The text was updated successfully, but these errors were encountered: