Skip to content

webpro/requirejs-handlebars-i18n-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

requirejs-handlebars i18n Example

Introduction

Example project to use the requirejs-handlebars plugin with preprocessing to render translated texts in the templates before precompilation.

The trick is to use a template engine with a different syntax (different delimiters than {{.}}).

See config.js for the example implementation.

Installation

git clone git@github.com:webpro/requirejs-handlebars-i18n-example.git
cd requirejs-handlebars-i18n-example
npm install

Runtime

/src/index.html
/src/index.html#[en|nl]

Build

 r.js -o build.js language=[en|nl]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published