Comments (2)
I second this. I think the messages param should be optional in case we want to override the messages. Otherwise it should be enough to load the locales using the first parameter.
from timeago.dart.
Agree. This feature would be very helpful.
Even something like
timeago.setLocaleMessages('ru', timeago.getMessages('ru'));
would be helpful so that the library does the mapping instead of having to do it in the code using it.
from timeago.dart.
Related Issues (20)
- fork and clone
- Usage of the `text_expressions` library could aid in creating a more resilient, but also more extensible variable-to-message system
- Consider using decorator instead prefix and suffix
- Serbian localization HOT 1
- Live DEMO is missing et and fi HOT 1
- gh-pages not loading properly
- Update live demo to include all available messages HOT 3
- in hindi it write ago+before ( पहले पूर्व) together in suffix
- Other locals don't work, timeago throw an exception
- Use Arabic numbers instead of lLatin numbers
- dynamically change language HOT 3
- Displaying -1d when the locale is en_short HOT 4
- Add clock offset
- intl 0.18.0 is not supported HOT 2
- [ISSUE] Locale [fr] has not been added, using [en] as fallback. HOT 1
- A mistake on KoMessages HOT 1
- [ISSUE] DateTime now UTC not working when inputted in clock parameter.
- Hungarian timeago translations are incorrect
- Update intl in 0.19.0 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from timeago.dart.