diff --git a/src/i18n/index.ts b/src/i18n/index.ts new file mode 100644 index 0000000..2a321ef --- /dev/null +++ b/src/i18n/index.ts @@ -0,0 +1,13 @@ +import { createI18n } from 'vue-i18n' +import en from './locales/en' +import es from './locales/es' + +export const i18n = createI18n({ + legacy: false, + locale: 'en', + fallbackLocale: 'en', + messages: { + en, + es + } +}) \ No newline at end of file diff --git a/src/i18n/locales/en.ts b/src/i18n/locales/en.ts new file mode 100644 index 0000000..c306e42 --- /dev/null +++ b/src/i18n/locales/en.ts @@ -0,0 +1,28 @@ +export default { + nav: { + home: 'Home', + directory: 'Directory', + faq: 'FAQ' + }, + home: { + title: 'Find Bitcoin Lightning Payments', + subtitle: 'Discover local businesses, services, and venues that accept Bitcoin Lightning payments.', + browse: 'Browse Directory', + learnMore: 'Learn More' + }, + directory: { + search: 'Search...', + categories: { + all: 'All', + restaurant: 'Restaurants', + taxi: 'Taxis', + lancha: 'Lanchas', + retail: 'Retail', + other: 'Other' + } + }, + footer: { + poweredBy: 'Powered by', + donate: 'Donate' + } +} \ No newline at end of file diff --git a/src/i18n/locales/es.ts b/src/i18n/locales/es.ts new file mode 100644 index 0000000..9848207 --- /dev/null +++ b/src/i18n/locales/es.ts @@ -0,0 +1,28 @@ +export default { + nav: { + home: 'Inicio', + directory: 'Directorio', + faq: 'Preguntas' + }, + home: { + title: 'Encuentra Pagos Bitcoin Lightning', + subtitle: 'Descubre negocios locales, servicios y lugares que aceptan pagos Bitcoin Lightning.', + browse: 'Explorar Directorio', + learnMore: 'Aprende Más' + }, + directory: { + search: 'Buscar...', + categories: { + all: 'Todos', + restaurant: 'Restaurantes', + taxi: 'Taxis', + lancha: 'Lanchas', + retail: 'Tiendas', + other: 'Otros' + } + }, + footer: { + poweredBy: 'Desarrollado con', + donate: 'Donar' + } +} \ No newline at end of file