You can define locales for your application if needed

open app/widgets/loading.html.tag

  <ul class="uk-navbar-nav">
    <li each={lang in langs} class="{lang == window.localStorage.getItem('foxx-locale') ? 'uk-active' : ''}"><a onclick={changeLang}>{lang}</a></li>

    <li><a href="#logout"><i class="uk-icon-sign-out"></i> Logout</a></li>

    this.langs = ['en']
    changeLang(e) {
      window.localStorage.setItem('foxx-locale', e.item.lang)

As you can see, adding a new locale is easy as adding new element in this.langs

this.langs = ['en', 'fr', 'es', 'ru']

Default application port

Open package.json and modify line 8

"start": "brunch watch --server -P 4001"

Change 4001 by any port of your choice.

results matching ""

    No results matching ""