DWand

Results 20 comments of DWand

@knalli, the proposed change in the left top box might be useful to provide things like pluralization and number/date/currency formating. As these things can be implemented with AJS directives and...

Hm... Actually, this question is not so easy to answer. It depends on how we'll implement pluralization and other features. If these tasks will be handled by interpolation services, this...

The main intention of "Language Information" service was a pluralization feature. We have to know pluralization rules of the specific language to be able to do something in this area....

The "Debugger" service is planned to be at least a wrapper for `if (config.logging.debug) { $log.log()}`. Such string is perfect to be temporarily used in one or two places, but...

As for your example, I'd like to keep Refresher and Map blocks close to each other. It would be nice other blocks to know nothing about loaders, refreshing and all...

> > But only angular-translate knows what language is currently in use. > > I disagree. Either the developer can change the language based on a custom event or the...

> > > > But only angular-translate knows what language is currently in use. > > > > > > I disagree. Either the developer can change the language based...

I've made a little analyze of entities inside $translate provider and service trying to determine where it is better to move them. It turned out that it is pretty hard...

**$translateProvider** _variables and properties_ | Name | Def. val. | Move to | Comments | | --- | --- | --- | --- | | $translationTable | {} | Repository...

**$translateProvider** _methods and functions_ | Name | Move to | Comments | | --- | --- | --- | | getFirstBrowserLanguage | _LanguageResolver_ | | | getLocale | _LanguageResolver_ |...