BrewPiLess

Use an ESP8266 to replace RPI and Arduino. Running BrewPi without Pi, therefore, BrewPi-Less

View the Project on GitHub vitotai/BrewPiLess

The web front pages are built by ‘grunt’. Please check the readme in the directory for detail.

https://github.com/vitotai/BrewPiLess/tree/master/htmljs

To add localization of the pages, a translation file is necessary. The format of translation file is JSON. A simple and good way to begin is copying the english.json and starting from it.

https://github.com/vitotai/BrewPiLess/tree/master/htmljs/src/locales

It’s better to make sure that everything will work before you start translating. So, you can copy the copy the english.json to another file, and run the following procedure first.

    multi_lang_site_generator:
      default:
          options:
            vocabs:           ['english','chinese','spanish']
            vocab_directory:  'src/locales'
            output_directory: 'dist'

Add the language to be added, in the same name as the json file.

    multi_lang_site_generator:
      default:
          options:
            vocabs:           ['english','chinese','spanish', 'wakanda']
            vocab_directory:  'src/locales'
            output_directory: 'dist'

If you don’t understand this page so far, but you can and are willing to do the translation, just translate the json file and send it to me. (Or, submit an issue with attached translated file, I guess.)