diff --git a/Gemfile b/Gemfile
index 6c38134..ecd1aee 100644
--- a/Gemfile
+++ b/Gemfile
@@ -16,6 +16,7 @@ gem "jekyll", "~> 4.2.0"
# If you have any plugins, put them here!
group :jekyll_plugins do
gem "jekyll-feed", "~> 0.12"
+ gem 'jekyll-multiple-languages-plugin'
end
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
diff --git a/_config.yml b/_config.yml
index 740065e..8c5fbca 100644
--- a/_config.yml
+++ b/_config.yml
@@ -6,6 +6,7 @@ url: "" # the base hostname & protocol for your site, e.g. http://example.com
twitter_username: Butter App
github_username: Butter App
logo: "/assets/images/butter-app-logo-small.svg"
+languages: ['en', 'es'] # powered by jekyll-multiple-languages-plugin
# Build settings
sass:
@@ -14,6 +15,7 @@ sass:
plugins:
- jekyll-feed
+ - jekyll-multiple-languages-plugin
# Exclude from processing.
# The following items will not be processed, by default.
diff --git a/_data/en/home.yml b/_data/en/home.yml
deleted file mode 100644
index dd7c98e..0000000
--- a/_data/en/home.yml
+++ /dev/null
@@ -1,46 +0,0 @@
-site_name: 'Butter'
-page_logo: ['/assets/images/butter-logo-feature-large.svg', 'Butter App Feature Logo']
-title: 'Life without internet made smoother. Get access to tools that help.'
-text:
- show_chat: |
- This Butter Box offers an Android app store and chat rooms.
- Download the Butter app to discover and download free, ad-free
- apps or to spread the love and share apps offline. Or, create a
- chat room which hangs on to messages while you're gone and
- delivers them whenever your device reconnects to the Butter Box.
- dont_show_chat: |
- Butter features a collection of apps to make life without the internet a little smoother. Use it to discover and download free, ad-free apps or to spread the love and share offline.
-fdroid_apps_caption: Just a few of the apps available via Butter.
-fdroid_button_text: 'Download Android App'
-chat_button_text: 'Start a chat room instantly'
-image: ['/assets/images/butter-collection-features-offline-essentials.svg', 'Butter App features collection']
-
-modal_data:
- title: 'Butter: Free, ad-free apps to help you offline'
- logo: ['/assets/images/butter-app-icon-large.svg', 'Butter App Logo']
- text: |
- Be in-the-know, be entertained, manage business and life—even with little internet.
- Butter app makes it easy to find apps that use less internet and battery.
- Download your favorites, and get free updates from Butter. Care to share? Send any app on your phone to a friend near you with Butter nearby. No internet needed.
- info_list:
- - By Team Butter
- - Available for Android phones
- - Less than 10 MB!
- button_text: 'Download Android App'
- button_url: '/assets/download/butter.apk'
- slider_list:
- - '/assets/images/slide-img-1.png'
- - '/assets/images/slide-img-2.png'
- - '/assets/images/slide-img-3.png'
- - '/assets/images/slide-img-4.png'
- - '/assets/images/slide-img-5.png'
- warning: |
- You will need to enable downloads from unknown sources to install this app on your Android phone.
-
-captive_data:
- welcome_message: |
- Welcome to Butterbox.
- welcome_details: |
- This network doesn't provide internet access, just the next best thing, the Butter app. Butter features a collection of apps to make life without the internet a little smoother.
-
Once you've connected, simply open http://butterbox.lan in your browser.
- continue_button: 'Continue'
\ No newline at end of file
diff --git a/_data/es/home.yml b/_data/es/home.yml
deleted file mode 100644
index 8bd6531..0000000
--- a/_data/es/home.yml
+++ /dev/null
@@ -1,41 +0,0 @@
-site_name: 'Mantequilla'
-page_logo: ['/assets/images/butter-logo-feature-large.svg', 'Butter App Feature Logo']
-title: 'Para hacer tu vida sin Internet más fácil. Obtén herramientas que ayudan.'
-text:
- show_chat: |
- Este Caja de Mantequilla presenta una colección de aplicaciones de Android y salas de chat. Descarga la aplicación Mantequilla para descubrir y descargar aplicaciones gratuitas y sin publicidad o compartir cuando no tienes conexión. O, crea una sala de chat que conserva mensajes cuando no estás aquí y los entrega cuando se vuelve a conectar a la Caja de Mantequilla.
- dont_show_chat: |
- Mantequilla presenta una colección de aplicaciones para ayudarte cuando no tienes acceso a Internet. Úsala para descubrir y descargar aplicaciones gratuitas y sin publicidad o compartir cuando no tienes conexión.
-fdroid_apps_caption: Unas aplicaciónes disponible de Mantequilla
-fdroid_button_text: 'DESCARGA LA APLICACIÓN ANDROID'
-chat_button_text: Crea una sala de chat
-image: ['/assets/images/butter-collection-features-offline-essentials.svg', 'Butter App features collection']
-
-
-modal_data:
- title: 'Mantequilla: aplicaciones gratuitas y sin anuncios para ayudarte cuando no tienes acceso a internet'
- logo: ['/assets/images/butter-app-icon-large.svg', 'Butter App Logo']
- text: |
- Mantente al tanto, diviértete, administra tus negocios y tu vida, incluso con poco Internet. La aplicación Mantequilla facilita la tarea de encontrar aplicaciones que usan menos Internet y batería. Descarga tus favoritas y obtén actualizaciones gratuitas de Mantequilla. ¿Te interesa compartir? Envía cualquier aplicación en tu teléfono a un amigo cerca de ti con “Mantequilla cercano”. No se necesita internet.
- info_list:
- - Autor Team Butter
- - Disponible para teléfonos Android
- - Menos de 10 MB!
- button_text: 'DESCARGA'
- button_url: '/assets/download/butter.apk'
- slider_list:
- - '/assets/images/slide-img-1.png'
- - '/assets/images/slide-img-2.png'
- - '/assets/images/slide-img-3.png'
- - '/assets/images/slide-img-4.png'
- - '/assets/images/slide-img-5.png'
- warning: |
- Debes 'habilitar descargas de fuentes desconocidas' para descargar esta aplicación en tu teléfono Android.
-
-captive_data:
- welcome_message: |
- Bienvenido. Esto es "como la mantequilla."
- welcome_details: |
- Esta red no proporciona acceso a Internet, solo lo mejor de la siguiente, la aplicación Mantequilla. Mantequilla presenta una colección de aplicaciones para ayudarte cuando no tienes acceso a Internet.
-
Una vez que se haya conectado, simplemente abra http://comolamantequilla.lan en su navegador.
- continue_button: 'Continuar'
\ No newline at end of file
diff --git a/_data/home.yml b/_data/home.yml
index dd7c98e..ad33fe3 100644
--- a/_data/home.yml
+++ b/_data/home.yml
@@ -1,32 +1,11 @@
-site_name: 'Butter'
-page_logo: ['/assets/images/butter-logo-feature-large.svg', 'Butter App Feature Logo']
-title: 'Life without internet made smoother. Get access to tools that help.'
-text:
- show_chat: |
- This Butter Box offers an Android app store and chat rooms.
- Download the Butter app to discover and download free, ad-free
- apps or to spread the love and share apps offline. Or, create a
- chat room which hangs on to messages while you're gone and
- delivers them whenever your device reconnects to the Butter Box.
- dont_show_chat: |
- Butter features a collection of apps to make life without the internet a little smoother. Use it to discover and download free, ad-free apps or to spread the love and share offline.
-fdroid_apps_caption: Just a few of the apps available via Butter.
-fdroid_button_text: 'Download Android App'
-chat_button_text: 'Start a chat room instantly'
-image: ['/assets/images/butter-collection-features-offline-essentials.svg', 'Butter App features collection']
+# This file is sitewide, for all languages.
+# To specify per-language data, use the _i18n folder's yml files.
-modal_data:
- title: 'Butter: Free, ad-free apps to help you offline'
- logo: ['/assets/images/butter-app-icon-large.svg', 'Butter App Logo']
- text: |
- Be in-the-know, be entertained, manage business and life—even with little internet.
- Butter app makes it easy to find apps that use less internet and battery.
- Download your favorites, and get free updates from Butter. Care to share? Send any app on your phone to a friend near you with Butter nearby. No internet needed.
- info_list:
- - By Team Butter
- - Available for Android phones
- - Less than 10 MB!
- button_text: 'Download Android App'
+page_logo: '/assets/images/butter-logo-feature-large.svg'
+app_tiles_image: '/assets/images/butter-collection-features-offline-essentials.svg'
+
+modal:
+ butter_app_logo: '/assets/images/butter-app-icon-large.svg'
button_url: '/assets/download/butter.apk'
slider_list:
- '/assets/images/slide-img-1.png'
@@ -34,13 +13,7 @@ modal_data:
- '/assets/images/slide-img-3.png'
- '/assets/images/slide-img-4.png'
- '/assets/images/slide-img-5.png'
- warning: |
- You will need to enable downloads from unknown sources to install this app on your Android phone.
-captive_data:
- welcome_message: |
- Welcome to Butterbox.
- welcome_details: |
- This network doesn't provide internet access, just the next best thing, the Butter app. Butter features a collection of apps to make life without the internet a little smoother.
-
Once you've connected, simply open http://butterbox.lan in your browser.
- continue_button: 'Continue'
\ No newline at end of file
+language_selector:
+ en: English
+ es: Español
\ No newline at end of file
diff --git a/_i18n/en.yml b/_i18n/en.yml
new file mode 100644
index 0000000..3173237
--- /dev/null
+++ b/_i18n/en.yml
@@ -0,0 +1,35 @@
+site_name: 'Butter'
+page_logo_alt: 'Butter App Feature Logo'
+title: 'Life without internet made smoother. Get access to tools that help.'
+text:
+ show_chat: |
+ This Butter Box offers an Android app store and chat rooms. Download the Butter app to discover and download free, ad-free apps or to spread the love and share apps offline. Or, create a chat room which hangs on to messages while you're gone and delivers them whenever your device reconnects to the Butter Box.
+ dont_show_chat: |
+ Butter features a collection of apps to make life without the internet a little smoother. Use it to discover and download free, ad-free apps or to spread the love and share offline.
+fdroid_apps_caption: Just a few of the apps available via Butter
+fdroid_button_text: 'DOWNLOAD ANDROID APP'
+chat_button_text: 'CREATE A CHAT ROOM'
+app_tiles_image_alt: 'Butter App features collection'
+view_all_apps: 'View All Apps'
+built_on_fdroid: Built on F-Droid Free Software
+
+modal:
+ title: 'Butter: Free, ad-free apps to help you offline'
+ butter_app_logo_alt: 'Butter App Logo'
+ text: |
+ Be in-the-know, be entertained, manage business and life—even with little internet. Butter app makes it easy to find apps that use less internet and battery. Download your favorites, and get free updates from Butter. Care to share? Send any app on your phone to a friend near you with Butter nearby. No internet needed.
+ info_list:
+ - By Team Butter
+ - Available for Android phones
+ - Less than 10 MB!
+ button_text: 'DOWNLOAD ANDROID APP'
+ warning: |
+ You will need to enable downloads from unknown sources to install this app on your Android phone.
+
+captive:
+ welcome_message: |
+ Welcome to Butterbox.
+ welcome_details: |
+ This network doesn't provide internet access, just the next best thing, the Butter app. Butter features a collection of apps to make life without the internet a little smoother.
+
Once you've connected, simply open http://butterbox.lan in your browser.
+ continue_button: 'Continue'
diff --git a/_i18n/es.yml b/_i18n/es.yml
new file mode 100644
index 0000000..ab7cd29
--- /dev/null
+++ b/_i18n/es.yml
@@ -0,0 +1,36 @@
+site_name: 'Mantequilla'
+page_logo_alt: 'Logo de Mantequilla'
+title: 'Para hacer tu vida sin Internet más fácil. Obtén herramientas que ayudan.'
+text:
+ show_chat: |
+ Este Caja de Mantequilla presenta una colección de aplicaciones de Android y salas de chat. Descarga la aplicación Mantequilla para descubrir y descargar aplicaciones gratuitas y sin publicidad o compartir cuando no tienes conexión. O, crea una sala de chat que conserva mensajes cuando no estás aquí y los entrega cuando se vuelve a conectar a la Caja de Mantequilla.
+ dont_show_chat: |
+ Mantequilla presenta una colección de aplicaciones para ayudarte cuando no tienes acceso a Internet. Úsala para descubrir y descargar aplicaciones gratuitas y sin publicidad o compartir cuando no tienes conexión.
+fdroid_apps_caption: Unas aplicaciónes disponible de Mantequilla
+fdroid_button_text: 'DESCARGA LA APLICACIÓN ANDROID'
+chat_button_text: 'CREA UN SALA DE CHAT'
+app_tiles_image_alt: 'colección de aplicaciones de Mantequilla'
+view_all_apps: 'Ver todas las aplicaciones'
+built_on_fdroid: 'Basado en el software libre F-Droid'
+
+modal:
+ title: 'Mantequilla: aplicaciones gratuitas y sin anuncios para ayudarte cuando
+ no tienes acceso a internet'
+ butter_app_logo_alt: 'Logo de aplicación Mantequilla'
+ text: |
+ Mantente al tanto, diviértete, administra tus negocios y tu vida, incluso con poco Internet. La aplicación Mantequilla facilita la tarea de encontrar aplicaciones que usan menos Internet y batería. Descarga tus favoritas y obtén actualizaciones gratuitas de Mantequilla. ¿Te interesa compartir? Envía cualquier aplicación en tu teléfono a un amigo cerca de ti con “Mantequilla cercano”. No se necesita internet.
+ info_list:
+ - Autor Team Butter
+ - Disponible para teléfonos Android
+ - Menos de 10 MB!
+ button_text: 'DESCARGA'
+ warning: |
+ Debes 'habilitar descargas de fuentes desconocidas' para descargar esta aplicación en tu teléfono Android.
+
+captive:
+ welcome_message: |
+ Bienvenido. Esto es "como la mantequilla."
+ welcome_details: |
+ Esta red no proporciona acceso a Internet, solo lo mejor de la siguiente, la aplicación Mantequilla. Mantequilla presenta una colección de aplicaciones para ayudarte cuando no tienes acceso a Internet.
+
Una vez que se haya conectado, simplemente abra http://comolamantequilla.lan en su navegador.
+ continue_button: 'Continuar'
diff --git a/_includes/footer.html b/_includes/footer.html
index 5640e3b..c425dc8 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -1,10 +1,7 @@
diff --git a/_includes/header.html b/_includes/header.html
index f364c2e..3769f59 100644
--- a/_includes/header.html
+++ b/_includes/header.html
@@ -6,13 +6,18 @@