Implement localization

This commit is contained in:
jultty 2024-05-20 10:53:26 -03:00
commit 506c0203d9
12 changed files with 218 additions and 36 deletions

View file

@ -1,11 +1,23 @@
function get_data() {
return {
posts: [
{
title: "Scripts em OCaml",
slug: "scripts-em-ocaml",
},
]
pt: {
posts: [
{
title: "Scripts em OCaml",
slug: "scripts-em-ocaml",
date: "23/03/2024",
},
]
},
en: {
posts: [
{
title: "Hello, Worldling",
slug: "hello-worldling",
date: "May 20, 2024",
},
]
}
}
}