How to use i18next-client - 10 common examples

To help you get started, we’ve selected a few i18next-client examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github bhdouglass / uappexplorer / www / app / components / appRequest.jsx View on Github external
<div>
          <div>
            {i18n.t('Find an app that has not yet been fetched from the official appstore.')}
            <br>
            <br>
            <div>
              <label>{i18n.t('App Name (example: com.ubuntu.developer.example)')}</label>
              <input value="{this.state.name}" type="text">
            </div>
          </div>
        </div>

        <div>
          <a>{i18n.t('Find')}</a>
        </div>

        <div></div>
      
    );
  }
});
github bhdouglass / uappexplorer / www / app / components / modals / listEdit.jsx View on Github external
render: function() {
    var title = i18n.t('Create List');
    var save = (
      <span>
        <i></i> {i18n.t('Create')}
      </span>
    );

    if (this.state.list &amp;&amp; this.state.list._id) {
      title = i18n.t('Edit List');

      save = (
        <span>
          <i></i> {i18n.t('Save')}
        </span>
      );
    }

    var disabled = '';
    if (this.state.list.name === '') {
      disabled = 'disabled';
    }

    var list_apps = [];
    if (!this.state.loading &amp;&amp; this.state.list_apps) {
      list_apps = this.state.list_apps;
    }

    var search_apps = [];
    if (!this.state.loading &amp;&amp; this.state.search_key &amp;&amp; this.state.apps[this.state.search_key]) {
github bhdouglass / uappexplorer / www / app / components / me.jsx View on Github external
}
                  else if (name.indexOf('love') &gt; -1 || name.indexOf('heart') &gt; -1) {
                    cls = 'fa fa-heart';
                  }

                  return (
                    <div>
                      <div>
                        <div>
                          <div>
                            
                              <i></i> {i18n.t('View')}
                            

                            <a>
                              <i></i> <span>{i18n.t('Edit')}</span>
                            </a>

                            <button>
                              <i></i> <span>{i18n.t('Delete')}</span>
                            </button>
                          </div>

                          <div>
                            
                              <div>
                                <div>
                                  <i style="{utils.strToColor(list.name,"></i>
                                </div>
                              </div>

                              <div></div></div></div></div></div>
github bhdouglass / uappexplorer / www / app / components / me.jsx View on Github external
return (
                    <div>
                      <div>
                        <div>
                          <div>
                            
                              <i></i> {i18n.t('View')}
                            

                            <a>
                              <i></i> <span>{i18n.t('Edit')}</span>
                            </a>

                            <button>
                              <i></i> <span>{i18n.t('Delete')}</span>
                            </button>
                          </div>

                          <div>
                            
                              <div>
                                <div>
                                  <i style="{utils.strToColor(list.name,"></i>
                                </div>
                              </div>

                              <div>
                                <h4>{list.name}</h4>
                                <p>
                                  {list.packages.length} {i18n.t('apps', {count: list.packages.length})}
                                </p></div></div></div></div></div>
github bhdouglass / uappexplorer / www / app / components / app.jsx View on Github external
<div>
                                <img alt="{this.state.app.name}" src="{this.state.app.icon}">
                                OpenStore
                              </div>
                            

                            <div>
                              <h1>{this.state.app.title}</h1>
                              <div>
                                
                                  
                                  
                                

                                
                                  {this.state.app.author}
                                

                                
                                  <span title="{i18n.t('Company')}">{this.state.app.company}</span>
                                

                                
                                
                                <br>
                                
                              </div>
                            </div>
                          
                        
                      
github bhdouglass / uappexplorer / www / app / info.js View on Github external
count_types: function(count) {
    return {
      all_types: i18n.t('apps', {count: count}),
      all: i18n.t('phone apps & scopes'),
      application: i18n.t('apps', {count: count}),
      scope: i18n.t('scopes', {count: count}),
      webapp: i18n.t('web apps', {count: count}),
    };
  },
github bhdouglass / uappexplorer / www / app / info.js View on Github external
count_types: function(count) {
    return {
      all_types: i18n.t('apps', {count: count}),
      all: i18n.t('phone apps & scopes'),
      application: i18n.t('apps', {count: count}),
      scope: i18n.t('scopes', {count: count}),
      webapp: i18n.t('web apps', {count: count}),
    };
  },
github bhdouglass / uappexplorer / www / app / info.js View on Github external
snap_count_types: function(count) {
    return {
      all_types: i18n.t('snaps', {count: count}),
      all: i18n.t('snaps'),
      oem: i18n.t('oem snaps'),
      os: i18n.t('os snaps'),
      kernel: i18n.t('kernel snaps'),
      gadget: i18n.t('gadget snaps'),
      framework: i18n.t('framework snaps'),
      application: i18n.t('app snaps'),
    };
  },
github bhdouglass / uappexplorer / www / app / info.js View on Github external
snap_count_types: function(count) {
    return {
      all_types: i18n.t('snaps', {count: count}),
      all: i18n.t('snaps'),
      oem: i18n.t('oem snaps'),
      os: i18n.t('os snaps'),
      kernel: i18n.t('kernel snaps'),
      gadget: i18n.t('gadget snaps'),
      framework: i18n.t('framework snaps'),
      application: i18n.t('app snaps'),
    };
  },
github bhdouglass / uappexplorer / www / app / info.js View on Github external
count_types: function(count) {
    return {
      all_types: i18n.t('apps', {count: count}),
      all: i18n.t('phone apps & scopes'),
      application: i18n.t('apps', {count: count}),
      scope: i18n.t('scopes', {count: count}),
      webapp: i18n.t('web apps', {count: count}),
    };
  },

i18next-client

With v2 of i18next it's no longer needed to separate the node.js version. So there is no more i18next-client needed.

MIT
Latest version published 9 years ago

Package Health Score

42 / 100
Full package analysis

Popular i18next-client functions