Implement localization
This commit is contained in:
parent
5016ced432
commit
506c0203d9
12 changed files with 218 additions and 36 deletions
|
|
@ -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",
|
||||
},
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue