webstudio-is / webstudio

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
https://webstudio.is
GNU Affero General Public License v3.0
5.21k stars 620 forks source link

Simple localization of static pages #3548

Open BinaryCraX opened 4 months ago

BinaryCraX commented 4 months ago

As far as I know there are currently two options to localize a static page:

Am I missing some option? Is there a preferred way to accomplish this?

(rough) alternative suggestion:

kof commented 4 months ago

one other option that may be not a good fit for you depending on the content is using a content variable with all strings in both language, its basically like CMS but it would be static and local

Downside - content editing in this case is technical, you will be editing an a json

kof commented 4 months ago

A better option will be available with webstudio components. Where you can create a component out of all the pieces of your page and reuse it on multiple pages for different languages.

thepra commented 1 month ago

I agree, I was evaluating the software but missing localization that doesn't waste peoples time is crucial for me, so its a pass for me for now.

kof commented 1 month ago

created this issue to follow for the problem with accessing system variables from a slot, generally we expect people to use a cms for localization, static is possible but would involve lots of duplication of instances, so not really recommended

https://github.com/webstudio-is/webstudio/issues/4166