keystatic icon indicating copy to clipboard operation
keystatic copied to clipboard

First-party multilingual support for Keystatic

Open simonswiss opened this issue 1 year ago • 5 comments

There are a lot of requests for a first-party support for multi-language sites with Keystatic.

Particularly when used with Astro, which supports i18n out of the box.

I think there is enough interest/demand to consider investigating a proper multi-language support solution for Keystatic, if time allows 😇

simonswiss avatar Apr 18 '24 23:04 simonswiss

I think the implementation in Decap CMS is quite clear (https://decapcms.org/docs/i18n). An additional "copy" feature would also be helpful (https://github.com/sveltia/sveltia-cms/issues/120).

For the UI, I believe a simple select option would probably work best, without the need for side-by-side editing.

For validation, perhaps if there is an error in a language other than the one I am viewing, when I save, it could switch to the language with the validation error and scroll to the problematic field.

zanhk avatar Apr 19 '24 09:04 zanhk

In my case, the most important part of this integration is just the authoring experience. I would love to not have the language part of the slug in the list, and of course not have duplicates in that list, but instead have them in the same "page" (with a way to switch between languages like @zanhk suggested).

Of course other people will have other needs!

filipesmedeiros avatar Apr 19 '24 16:04 filipesmedeiros

Is there any news on this feature?

zanhk avatar Jun 08 '24 09:06 zanhk

It could also be useful to en-/disable i18n on a per-collection/singleton basis, since there might be cases where only certain pages need translation.

Another thing that might be worth mentioning are localized images. From working with Hygraph I've come to like the option of providing two versions per image. This could, of course, also be disabled per image!

louisescher avatar Jul 25 '24 09:07 louisescher