Using a dictionary library for i18n, also shows how to use i18n with navigation plugin.
This commit is contained in:
22
i18n.js
Normal file
22
i18n.js
Normal file
@@ -0,0 +1,22 @@
|
||||
module.exports = {
|
||||
en: {
|
||||
also: "This page is also available in:",
|
||||
previous: "Previous",
|
||||
next: "Next",
|
||||
nav: {
|
||||
home: "Home",
|
||||
archive: "Archive",
|
||||
about: "About Me",
|
||||
}
|
||||
},
|
||||
es: {
|
||||
also: "Esta página también está disponible en:",
|
||||
previous: "Anterior",
|
||||
next: "Siguiente",
|
||||
nav: {
|
||||
home: "Página de inicio",
|
||||
archive: "Archivo",
|
||||
about: "Acerca de mí",
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user