4vanger / angular-l10n Goto Github PK
View Code? Open in Web Editor NEWL10n module for Angular.js
License: MIT License
L10n module for Angular.js
License: MIT License
How to populate select with options from diffrent locales?
For example I have following code:
and in locale file:
{
registration: ["Russian", "Ukrainian"]
}
Using this code my select is always empty, could you help to resolve it?
Hi,
This looks like a much needed module.
Please prefix the names in the /build/ folder with 'angular-'. (e.g. angular-l10n.min.js)
This would make it more consistent with other angular modules. Thanks!
Hi!
Seems like the demo page is not working.
Here is what I see in console:
function (t){var e;for(e in this.db)angular.isFunction(this.db[e])||delete this.db[e];return angular.extend(this.db,this.localeMessages[t])} l10n-with-tools.min.js:5
TypeError: Cannot read property 'monthsArr' of undefined
at new <anonymous> (http://4vanger.github.io/angular-l10n/:225:37)
at d (https://ajax.googleapis.com/ajax/libs/angularjs/1.0.5/angular.min.js:27:421)
at Object.instantiate (https://ajax.googleapis.com/ajax/libs/angularjs/1.0.5/angular.min.js:28:44)
at https://ajax.googleapis.com/ajax/libs/angularjs/1.0.5/angular.min.js:51:406
at https://ajax.googleapis.com/ajax/libs/angularjs/1.0.5/angular.min.js:42:495
at n (https://ajax.googleapis.com/ajax/libs/angularjs/1.0.5/angular.min.js:6:494)
at j (https://ajax.googleapis.com/ajax/libs/angularjs/1.0.5/angular.min.js:42:360)
at e (https://ajax.googleapis.com/ajax/libs/angularjs/1.0.5/angular.min.js:38:463)
at e (https://ajax.googleapis.com/ajax/libs/angularjs/1.0.5/angular.min.js:38:480)
at e (https://ajax.googleapis.com/ajax/libs/angularjs/1.0.5/angular.min.js:38:480)```
Hi,
Thank for your library.
Have you added your library to bower packager?
I tried to install it with "bower install angular-l10n" and it installed something different from this repo github.com/truongsinh/angular-l10n, looks like it is not yours.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.