GithubHelp home page GithubHelp logo

Localisation Issues about oxbow HOT 4 CLOSED

martinm1000 avatar martinm1000 commented on August 24, 2024
Localisation Issues

from oxbow.

Comments (4)

eugener avatar eugener commented on August 24, 2024

Martin,

The library fully supports java i18n using resource bundles with property
files. This means that you can always create custom resource bundles with
or without country specification.

Eugene

On Wed, Mar 6, 2013 at 2:54 PM, Martin Miller [email protected]:

Hi, I completely forgot the issue I opened a while back, ie:
http://code.google.com/p/oxbow/issues/detail?id=51&can=1.

As my users want french but we are not in France (and don't want their
weird Localization stuff about calendar and other stuff) I think you should
create (copy) the properties files and leave the country out of the file
name.

In my case, I copied in your library task-dialog_fr_FR.properties to
task-dialog_fr.properties so I can still use my
Locale.setDefault(Locale.FRENCH) as usual. This way you can support
language locales when the country is not specified.


Reply to this email directly or view it on GitHubhttps://github.com//issues/17
.

from oxbow.

martinm1000 avatar martinm1000 commented on August 24, 2024

Hi,

Then why Locale.setDefault(Locale.FRENCH) doesn't work without a specific task-dialog_fr.properties in your library but as you indicated in the old issue 51 Locale.FRANCE would pickup your task-dialog_fr_FR.properties ?

Or are you telling me I could add my own task-dialog_fr.properties in my project, and not have to remember to update your jar on the next releases ?

from oxbow.

eugener avatar eugener commented on August 24, 2024

That is exactly what I mean - you can add your own property file.

from oxbow.

martinm1000 avatar martinm1000 commented on August 24, 2024

Thanks, it worked !

from oxbow.

Related Issues (20)

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.