Sorry, we don't support your browser.  Install a modern browser

Lock file behaviour in multilang setups#261

Is it expected to “lock” a page completely if someone is editing this in another language? E.g. I have a website in 6 languages (English is default); there are translators translating the content in 2 new languages (e.g. Spanish and Italian). Is it normal that the Italian translator sees a page lock for a certain page when the Spanish translator is translating that page? If yes, why is that so?

Both are in their “own” language, and none are the default one. So they can’t really overwrite each others changes?

I know “how” locking logic works; a .lock file is put in the directory that is being edited and that this is thus language agnostic. I just think that’s counterintuitive and I also think this is not making sense from an editor’s point of view?

2 months ago

You are right, it seems like we didn’t consider the multilang-multiuser use-case when designing the lock feature. Indeed, Kirby always locks the entire “model” (page/file/user) when it’s being edited.

As you mention, there could be issues with the default language but we could at least allow the situation you describe that two non-primary languages are edited at the same time.

2 months ago

That’ld be great Lukas. Want me to add an issue on github?

2 months ago

To be honest, while I see this request totally as valid, I’d consider it still a feature request and keep it here on Nolt (and not a bug - GitHub issue).

2 months ago