support for different languages

I'm a GUI and thought that would be a nice feature. See image: http://postimage.org/image/oqidh1c4/

First I thought I'd do a class with a function like f: (concept, language)-> Word and then each class should inherit from the class, and send the concepts I love ('OK', 'English') and make 'Confirm', ('OK', 'Swedish') and get "Bekrafta", etc. And then each class would implement an abstract method of 'update all' of the class dictionary, if the user changes the language. (Sort of)!

But then maybe this isn't a good idea, what happens if the classes extend other classes already? An interface is perhaps better? But then, if I were to add a language, the dictionary mapping would not be in on-site, but in every sense!

What do you think? Is there another way? How this work usually?

It is usually done with ResourceBundles, one for each language you want to support. The idea is pretty much the same thing, but there is much less inheritance and interfaces involved.

Tags: Java

Similar Questions

  • Support for Ukrainian language to Siri

    Do you intend to add support for Ukrainian language to Siri? If so - do you know if it will be integrated into the iOS in 2016?

    Company Apple is currently working on adding new languages to Siri? If so and it is not confidential - they appear on a page?

    Thanks in advance

    In these forums, no one can tell you anything about Apple's plans, and Apple never provide the kind of info you are looking for.  But you can ask for new features you want via

    http://www.Apple.com/feedback

  • support for several languages in flash professional cc...

    Is there a way to export the .swf in two different languages of a .fla?

    I knew there was a way to do this in flash CS6 professional but it is deleted from flash professional CC... Now, I would like to know is there anything in flash professional CC who can help me achieve this goal?

    It will be a great help.

    Thanks in advance.

    If by 'languages', you hear the languages spoken (as opposed to computers), there has never been such a thing.  There was a panel strings, but there is nothing interesting.

    to publish a swf that allows users to select a language, use a table for each language.  allow users to select the language of their choice or geolocation to select what text tables appear in your SWFs textfields.

    That is to say, all your textfields will be dynamic.

  • Auto button to translate a Web page for different languages?

    Buttons for any language:

    Russian (click to translate the page in Russian)

    German (click on it to translate the page in Russian)

    French (click to translate the page in Russian)

    *

    *

    *

    N language

    You can use GOOGLE translate to translate pages on the fly. There are other similar products. But this method is just a joke. The translations are really terrible.

    The only true method is to use a dynamic Web site structure, where the content of the web pages is stored in a database. Then by clicking on a button can fill the page with the language requested in the database version. Someone do the translations before-hand. It requires programming server side, as with PHP.

  • use queries to support for different style sheets?

    I know that this question must be asked all the time, sorry :-).  I have been working on a site and you have great help here for 2 previous questions. But now, I came across another and more than probably the last issue for this site. The page that I write is for my group, many of our fans and everyone have ipads, anodroids and soon. So just to see, I tested my site and 800 x 600 (I know the Res gets much lower than for 320 phones is the norm and 1024 x 768 for the ipad, I think, but it is the lowest, I could go on my pc to test) and I already had problems with the top of the screen being cut into pieces and well sure left and right chopped. I read up on it and I find the media to call sheets css dfferent for different resolutions.  What is togo of this problem? Also when I wrote the page that I was in 1280 x 1024, I did, as I thought it was prob. the resolution more used at this point, it is the best resolution to create? So, in a nut shell, what is the best way to address the resolution and what resolution you create in? Thank you very much for the help past as well as help with this.

    John Dullebawn

    Media Queries would be the way to go for what you want to do.

    Keep in mind that just because this resolution may be the most widespread, it probably doesn't get used very often. Here's what I mean by that...

    I my experience, very few people find anything on the web with a maximized window (I honestly can't do to think of a time where I have never seen someone using a display full-screen browser where it wasn't an accident). Most don't allow their browser to use 80% or more of their real estate property screen because they need room to click back between browser windows or other programs or just to get on their desk to find files.

    The good thing with questions from the media, is that you need not worry about this because you can make one for 1280 x 1024 for the people who use the entire screen. Then an other for 1024 x 768 or 800 x 600 480 x 260, basically everything, and all the other resolutions you want to design for.

    It's really how precisely you want to got on the number of possibilities to you.

  • Re: Supported on different languages

    I bought my laptop in Czech Republic. Now, whenever I have to contact the support, I'm redirected to site Czech support as soon as I get the serial number. I don't speak Czech, nor I intend to learn it soon. Although the site offers only Czech, Slovak and Hungarian versions. WHY?

    Why can't English or French or Spanish or one of the other languages I speak? What is c?
    Guys, it's really through the logic. Do you know how many non-tcheque speakers? A lot.
    It is the policy of the company "everyone who bought a laptop in the Czech should speak Czech"?

    > I am redirected to site Czech support as soon as I get the serial number.

    It seems that the language of the Web page is based on the serial number you typed in the search engine.

    The script on the website 'knows' s notebook serial number and automatically redirects to the Czech page because your laptop is now available for the Czech market and was preinstalled by a Czech system.

  • Why is my computer so slow and facebook always changes for different languages?

    (1) it takes time to connect!

    (2) there must be coz virus that the letters will not appear on the computer!

    (3) I changed my ID password my Facebook recently due to some unauthorized display!

    (4) Finally, my security work? My hotmail has no letter S at the end of http:!

    Hello

    1. do you receive any error messages?

    2. which version of the Windows operating system is installed on the computer?

    3 did you last modified the software on the computer?

    Method 1:

    If you are using Windows 7, I suggest you go through the steps mentioned in the link and the Coachman.

    Optimize Windows 7 for better performance

    http://Windows.Microsoft.com/en-us/Windows7/optimize-Windows-7-for-better-performance

    Method 2:

    Microsoft security scanner:

    I also suggest you to perform an analysis of your computer online by visiting the link below:

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: there is a risk of data loss if all the files are infected and which can be removed in the cleaning process.

    Please give us more details so that we are able to help you.

    Suggestions for a question on the help forums

    http://support.Microsoft.com/kb/555375

    For issues with Facebook, you can post your query to:

    http://www.Facebook.com/help/?page=220217228006012

    For problems with hotmail, you can post your question to:

    http://answers.Microsoft.com/en-us/windowslive

  • Theme Support for different models and some newbie questions

    Hello, I'm new in the creation of theme BB and I need help. I created a theme on Theme Builder 6 for the Curve 9300, the type of provision is Blackberry 6 and the screen for this model size is 320 x 240. The problem is that I don't know what to write in the description on the supported models. I exported the zip file and the devices.txt file States that 9300 theme is for OS6. I need to know what the other models are supported? Or what I need to re-create for other models of same screen size? I'm really confused, and I'm not a BB user too. Also I don't know what produced icons and images recommended should be, I guess they are a type similar to those observed when hollow searching App World themes. And the calendar icon does not always change in the Simulator, I read that it is a bug in Theme Builder.

    Hello

    No matter what model of BB with the size of the screen of 320 x 240 and that runs on Blackberry OS6 theme will work. However, the theme will not work for a device with a screen size of 320 x 240, AND that run on Blackberry OS5.

    If you just need to do a bit of research on the screen sizes and device operating systems.

    Regarding the priduct icon, it is simply the image of the "App" icon The descriptive is the image that appears if your theme is featured on the app world. This is the only time where the featured image is used.

    Hope that helps.

    Kind regards

    Flow

  • Separate columns for different languages

    I'm new to Indesign, even if I know the basics of using similar software.  I practiced a bit, but would appreciate some tips before starting a large project.  I need to produce a book of poems about 150.  The poems are in separate documents of Word and more run to two or three pages.   Each poem has been translated into English.  Styles have been applied to Word documents.

    I wish that both languages appear side by side.  How can I set up a document in Indesign so that the text in language1 not swamped on the second column on the same page?  I want to spill over into column 1 on the next page.   I am finding it quite difficult to manage so would be grateful for the help.

    Thank you

    Marion

    Put two images on the master page, linking left left and right right on each page.

  • A single application but the different database table for another language

    Hello

    I have a word learning app for different languages. I would like if possible separate the application in different languages, so when the user goes to download, they can choose the language that they are eager to learn how to save their unnecessary download data.

    Is this possible or should I submit apps in a different way (and thus pay for each submission)?

    Im a complete newbie to BB development.

    Thanks in advance

    Kelly

    If you want to group the languages within your application then you must download separately for each version of your application.

    Another approach would be to have the download of the application language data from a server.  You can use the BlackBerry payment service to allow the user to buy the language of their choice within your application.

    BlackBerry payment service

    http://us.BlackBerry.com/developers/platform/paymentservice.jsp

  • Landing page for the different language in LMS options

    I need to create a landing page with options for different language for the same course that can be loaded as a single LMS-ready package.

    My solution was to create the same in each language, export in the .exe and then create an exceptional Captivate file with links to each of the languages as 'open file/URL', but I've known errors trying to do.

    I saw a person offers to write an HTML index page which links to each. I like the idea of this, but I don't know how it worked in a LMS System.

    Another idea would be to create a single Captivate project as described here: Options multilingual in a single course with Adobe Captivate 5.5 "Rapid e-Learning | Adobe Captivate Blog - but the inability to locate the bar reading/table of contents in each language, I avoid it.

    What are my options here?

    The easiest way to do this is to create a main project folder and publish all your projects DSL SCORM in specific folders, do not publish for zip.

    You create an html page that has links to specific language folders or a non-SCORM project. We could call this menu.html.

    Now you need some SCORM files.

    You need an imsmanifest.xml file to create the LMS link to your menu.html and a metadata.xml with title and description.

    We actually already have structures with the manifest and SCORM files already set up to do this associate.

    The manifest looks like this:

    xmlns = "http://www.imsproject.org/xsd/imscp_rootv1p1p2."

    xmlns:adlcp = "http://www.adlnet.org/xsd/adlcp_rootv1p2".

    xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance".

    xsi: schemaLocation = "http://www.imsproject.org/xsd/imscp_rootv1p1p2 imscp_rootv1p1p2.xsd".

    http://www.imsglobal.org/XSD/imsmd_rootv1p2p1 imsmd_rootv1p2p1.xsd

    http://www.adlnet.org/XSD/adlcp_rootv1p2 adlcp_rootv1p2.xsd ">

    ADL SCORM

    1.2

    Metadata.Xml

    ENTER THE TITLE OF YOUR COURSE

    ENTER THE TITLE OF THE LESSON HERE

    You can contact us if you need help to put it together.

  • Status of support for IOM 9.1

    CCIC by the following:

    Release of IOM 9.1.0, running on WebLogic Server 8.1 SP6 with Java 1.4.2_19.

    I've been able to determine from http://www.Oracle.com/us/support/library/lifetime-support-middleware-069163.PDF that WLS 8.1 is currently under support.

    Also of http://docs.Oracle.com/CD/E10391_01/doc.910/e10367/TOC.htm , we know that IOM version 9.1.0, is indeed certified with WebLogic Server 8.1 SP6.

    However, I was unable to find any record of support for IOM 9.1 time line. Can someone tell me please to a document that lists times of support for different version of OIM including IOM 9.1?

    Thank you

    Kiran

    Support of Oracle provided the following: Information on end of support a timetable for Oracle Identity Manager (Doc ID 980689.1)

    INFORMATION ON THE END OF DELAYS IN SUPPORT FOR ORACLE IDENTITY MANAGER

    Release First support ends Extended support ends Support ends
    Oracle Identity Manager 9.0.1, 9.0.2 9.0.3 Dec 2010 DEC 2011 Indefinite
    Oracle Identity Manager 9.0.x Dec 2010 DEC 2011 Indefinite
    Oracle Identity Manager 9.1.x DEC 2011 Dec 2012 Indefinite

    Please refer to the following documentation Oracle Lifetime Support policy Oracle Fusion Middleware for more information.

  • On support for language UTF-8 on Sony tablet S

    Today, I found Tablet Sony does not support UTF-8 language. as the Uyghur language. It is RTL language, but become a strange mark on the tablet of Sony.
    However, there is a way can change fonts on this tablet as 'ROOT' technique, but it looks like illegal warranty Sony.
    So, could you please add a UTF-8 language supported officially? because there are millions of people using the system of non-English language.

    Hello
    Welcome to the Forums of Discussion of the user
    All Android Marketplace police changing apps need rooting.
    Rooting for your tablet is not only not supported, it is not recommended.

    IF you want to change the language of your tablet, you can do that without any programming.
    Please see this tutorial on how to change the language of the tablet.
    http://www.KB.Sony.com/selfservice/MICR... 0192682663
    Uyghur is not available at this time, however, Turkish is available.

  • Support for right to left languages

    Hello!

    I have to lean to the right languages left in my application, but I can't find any information how to make some right-aligned UI controls:

    • Title bar;
    • Drop-down list;
    • SystemPrompt;
    • StandardListItem.

    They are all the interface controls user base for BlackBerry 10 and I can't believe that they have no support for RTL. Someone has ideas how to do press for RTL for these controls instead of creating custom controls?

    Thanks in advance.

    BBTEN-3331 was created

  • Smartphones blackBerry RE: Multi language support for storm exist?

    Hello

    I use storm blackberry in Australia, I found it's hard that I can't read some of the e-mails his in other languages...

    I just wonder blackberry is now language support in other languages? for example, Chinese, Korean and Japanese?

    Thanks for the help in advance guys

    Michael

    Yes, download and install a version of the operating system that includes these languages, look for the one that includes the words "East Asia".

    What storm model you have?

    http://www.BlackBerryForums.com/General-9500-series-discussion-storm/

Maybe you are looking for