Giter VIP home page Giter VIP logo

soda's People

Contributors

haraldmaida avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

gitter-badger

soda's Issues

Add support for localizing sequences of values

Lets assume we want to localize a sequence of a case class or case object. For example write something like

case class Player(val name: String)
val players = List(Player("Frank"), Player("Paul"), Player("Susan"), Player("Alice))
render(players).asLocalText

render(players) is currently not supported.

It should be easy to add support for sequences.
Think of implement support for sequences in a more generic way, such as using Traversable.

Support more than 3 message arguments

Currently a message can be specified to have up to 3 dynamic arguments.
More than 3 arguments shall be supported.

Some research is needed, what would be a reasonable maximum for message arguments. How many arguments are needed by real world applications.

Add more static definitions of locales

Currently only a view locales are statically definied, e.g. EN, EN_GB, DE, DE_AT, ...
More static definitions of locals for most used languages should be added.

Support different implementions of message rendering

Extract an API - something like RenderMessage or MessageBundle - to support different implementations for rendering localized messages.

Currently the implementation based on the java.util.ResourceBundle and java.text.MessageFormat is tightly coupled to the API and does not allow different implementations.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.