Skip to content

Can Sveltia CMS store data in json format? #44

Closed Answered by kyoshino
rchrdnsh asked this question in Q&A
Discussion options

You must be logged in to vote

The JSON format is supported in Sveltia CMS for sure! The Object and List widgets can be used to nest the fields. You can also use the built-in internationalization support as well or simply have nested fields for those two languages. Most of my own clients use the i18n support to have both Japanese and English in one single file, like this:

A config example if you use the i18n support:

backend:
  name: github
  repo: org/repo
  branch: main

media_folder: static/images
public_folder: /images

i18n:
  structure: single_file
  locales: [e…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@rchrdnsh
Comment options

@rchrdnsh
Comment options

@kyoshino
Comment options

Answer selected by rchrdnsh
Comment options

You must be logged in to vote
1 reply
@kyoshino
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants