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

[BUG] Changelog is impossible to follow #183

Open
gagarine opened this issue Oct 17, 2018 · 4 comments
Open

[BUG] Changelog is impossible to follow #183

gagarine opened this issue Oct 17, 2018 · 4 comments

Comments

@gagarine
Copy link
Contributor

The active language will be saved in the DB field. So each time you save you content in a different language all the field are going to be overwrites. I do have the feeling this can be problematic. The first problem I can see is with the change-log:
screenshot 2018-10-17 at 02 40 13

Proper solution need a database structure change and certainly content translation support in bolt core. Having one table for each language for example. Or best one for each translated field.

As a workaround, always save in the same language in the table field?

@SvanteRichter
Copy link
Contributor

As a workaround, always save in the same language in the table field?

Sorry, not sure what that means, could you explain? Regarding the separate tables, I have since answered that in that issue.

@gagarine
Copy link
Contributor Author

gagarine commented Nov 2, 2018

I mean do not save in the current language in the "non serialized field" but always in the "default language". So the diff are a bit more clean and the log easier to follow.

@SvanteRichter
Copy link
Contributor

Hmm, I haven't used translate in a while, but the idea was to only save the default language in the normal bolt columns, and save overrides only in the json column for that locale. So if it's resaving non-default translations in the normal fields then that is a bug.

@gagarine
Copy link
Contributor Author

gagarine commented Nov 3, 2018 via email

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

No branches or pull requests

2 participants