Translate a button

Hello, my problem is very noobish. I want that English and Spanish users to use my application in their native language. I want to just that my request to be able to display the correct text on each button according to the language of the user location /... is it possible to do this with qml?

I have not found a concrete example on how to do this simple thing. Could someone help me?

If you use qsTr ("text") and b ("text") in all your qml and c ++ files then the text between quotation marks will be be coughed up by the tools in a file, which you can then add your translation.

Place the file in the project before final construction means that everything works automatically for you.

http://developer.BlackBerry.com/native/documentation/Cascades/device_platform/internationalization/l...

Tags: BlackBerry Developers

Similar Questions

  • The ARC mouse left button does not properly

    The other day, I bought a mouse Arc.  My right button works fine, but my left button does not respond unless I have push down hard and hold the button for one second.   Simple click, it translates the button press then to click but nothing happens.  I guess it's just a bad mouse and not a systematic design problem?

    * original title - Arc 'hard click' buttons *.

    Hello

    · Do you remember the latest changes on the computer before the show?

    · What is the service pack installed?

    Try the steps listed in the link below: troubleshooting failures in the response to the mouse or wireless keyboard: http://support.microsoft.com/kb/838398

  • Toolbas displays the messages "you have 1 alert to phone" and you have errors of PC (9)»

    pop-up message on the toolbar to the right of the Bing search between translation and button sets. "" You have (1) phone alert "and alternates with you PC (9) errors" If you click on that, it wants to install a uniblue driver scanner that wants you to pay for the new updated drivers.
    How to block this kind of activity?

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

    Do a check with some malware malware, analysis of programs on the Windows computer.

    You need to scan with all programs, because each program detects a different malicious program.

    Make sure that you update each program to get the latest version of their databases before scanning.

    See also:

  • Can I install a button translate my site to muse? How?

    Need for a button to translate

    Found a post where a similar topic has been looked

    Add Google Translate to a Muse site

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

  • How can I change the Home Page of Adobe to English? Happens to be french and I do not understand. I press the translator button but nothing changes!

    How can I change the Home Page of Adobe to English? Happens to be french and I do not understand. I press the translator button but nothing changes!

    Adobe - Choose your area

  • Translation of the button tooltips

    I am currently using Captivate 3 in English. I need to create a version in French. I exported the XML file and translated what I could. Import the XML file into the French version.

    Unfortunately, that does not translate the ToolTips that appear when I bring my mouse over the buttons in the control of reading (e.g. Rewind, back, play, Pause, forward, output and Info). How can I translate these words? Otherwise, I'd be happy if I could get rid of the ToolTips in total.

    Thank you!

    Isabelle

    Could you just change the order of reading for localization in French? If you go to the following location, you will find a reading that is localized for the French bar. Find and install from:
    C:\Program Files-Adobe-Adobe Captivate 3\ Gallery\ PlaybackControls\ SwfBars\ Localization\ ...

    The play bar that might work for your Captivate French project is called " CPPlaybar_FRA.swf".

    That will help at all?
    ~ respect ~.
    Larry

  • iOS 9.2 translates freezing screens and the 'home' button does not

    I have problems and more from Friday December 11 when I've upgraded to iOS 9.2.

    Device: iPhone 5 s

    Problems:

    -Screen freezes randomly reboot * required (sometimes restart by the camera itself)

    -Sometimes device reacts very slowly on the command (or even then restarts)

    -For the most part within the first hour when used, sometimes immediately (after restart)

    -Cannot slide or apps to react when I touch

    -AssitiveTouch on, keep available however to move and opening, but no order accepted when the screen is in gel

    Resolution of problems so far:

    -Reset all settings (no result)

    -Backup on iTunes (11 dec)

    -Erase content and settings and restore the backup to iCloud (10 Dec *) (no result)

    -Erase content and settings and restore the backup of iTunes (11 dec) (no result)

    -Tried with the new iPhone camera 6 and restore backup icloud (unsuccessfully; restore hangs at "1 minute remaining")

    -Tried with the new iPhone camera 6 and restore backup of iTunes (no result: same freezing questions reappear)

    Conclusion date: is not a hardware problem (device), but one software: combination of the configuration (such as backup) and the new iOS 9.2.

    By the way: I guess that not possible to restore 9.1 on the device.

    The new iPhone 6 initially contained iOS 9.1, but then did not 'see' backups, because they were made from a 9.2 iOS device.

    So I had to first install the iPhone 6 as a new iPhone, upgrade to iOS 9.2 and then I was able to reset and restore the backup (with no good result, as described above).

    *) restarts: hold Home-button on/off-button simultaneously for 10 seconds

    backup *) in the form of clouds 10 Dec worked without problem on iOS 9.1.

    I will continue to investigate on removing the apps installed a year or two, see if that generates the result.

    After a few reboots and removal of some applications (for example, OneDrive), my iPhone 6 preformed well for a few days.

    However, it seemed that my search bar for the application of Messages and Notes app has not produced all realistic either.

    I then did a reset again and after that, it al returned to the freezing and bogged down again

  • How to disable Google Translator Web site when you navigate?

    I use Firefox 40.0 and on some Web sites (for example http://nameexoworlds.iau.org/exoworldsvote) a Google Web site translator bar appears on the top of the Web site. She asked if the language on the website (in English) should be translated into Dutch. However, as I am perfectly capable of reading English, I want him to stop asking me to translate from English. There is a button for this on the bar, but it doesn't seem to work, because when I press the bar disappears, but when I update the Web site of the bar is back. How to keep the bar appear or just stop trying to translate from English?

    What is the order of the installed languages?

    • Options/Preferences > content > languages
  • How can I get rid of im translator?

    Bitch appears at difficult times, and I don't need. I use chrome for translations

    Is it an add-on? You can check by using either:

    • Command + shift + a
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click Extensions. Then find something that seems apparent and either disable or remove.

    Often, a link will appear above at least an extension disabled to restart Firefox. You can complete your work on the tab and click one of the links in the last step.

    Success?

  • can someone tell me what translator tool it was?

    He had a red/blue button T on the top of the right side, all I had to do is to select a button t on the top of the right side and its translation in English, has been translated into English by default, I lost my old Firefox I want to know the name of this add on.

    Sounds like this-
    https://addons.Mozilla.org/en-us/Firefox/addon/Google-Translator-for-Firefox/?src=search
    If you enter 'translate' in the search box of modules get you will see others.

  • Google don't Translate no sound

    Hello.I has been using google translate normally, but since yesterday, pronounce the button isn't work. He is still there, but nothing happens. I have active cookies and flash to it matter. It works in internet explore. Someone knows why?

    Found the solution. I have disabled the plugin container for 29.0.1 for troubleshooting reasons. I allowed again and now it works.

  • ImTranslator-translator

    I downloaded ImTranslator-translator for Firefox, it appears in my list ad - the, I activated the option to display the icon in my toolbar in the menu 'options', but it does not appear on the toolbar, or on the supplementary list in the menu on the side right of drop-down were the two parallel arrows are.

    Unfortunately, the last update said removed some things that we,
    users, want and need. Some modules are no longer compatible with
    the new Firefox. For one thing, the bar the module at the bottom of the window
    has been deleted. And since there are many Add-ons use it...

    Many of us use
    Restorer Classic theme (Customize Australis) {web link}
    Restore the tabs squared, appmenu, modules, small display bar icons and more on Australis UI (Windows/MacOSX/Linux + Fx 29 +).

    Regarding the missing icons, they could have been moved to the address bar.
    or to the store icon.

    Move your mouse to the top of the Firefox window, and then right-click.
    You will see a menu, the available toolbars. Select Customize.
    In the new window, look for the icon. When you find it, press and hold
    the left button on it and move it to where you want it to be.
    You can move the icons you want here, but
    some icons are locked in place.

  • My diappeared of taskbar background in FF29! I have the buttons Add ons it and now can't use them!

    After the FF29, I lost my theme that doesn't make me happy, but I've accepted it. But lately I have say the taskbar background integer disappeared and I couldn't see modules line Add-Block +, adds ot Twitter, check the links, Quick Translator Page. How can I make it appear again?

    It happened at work, until I can't find an acceptable solution I will not upgrade to FF29 home.

    I understand what you are going through. I lost all my Add ons, when I've updated also. I only use Lightbeam and Firebug was not a big deal. I don't know why this update acted as a new facility, but he did. Basically, you'll have to find the Add-ons and re-install them. Many people do not know this so I'll tell you just to be sure. The Firefox button is always there that she has just a different look and location. This is the icon with three horizontal lines at the top right. From there on, it is no different. Hope that you can find every thing.

  • Sound missing icons of Google Translate

    When I go to Google Translate, the audio button icons are missing. I don't know why that should be, because the icons are well in other browsers. My installation of Firefox is new, is there a setting I'm missing?

    When I visit Google Translate, the Shockwave Flash plugin is used for sounds. I don't see on your list of plugin. Could it be disabled (set to 'never activate')? You can check that on the page modules. Either:

    • CTRL + SHIFT + a
    • Firefox orange (or the Tools menu) button > Add ons

    In the left column, click on Plugins. No matter which cluster disabled plugins at the bottom of the list.

    If your version of Flash is old, you may need to update before it can be activated. I'm sure you know the drill: uncheck all the unwanted extras before you download: http://get.adobe.com/flashplayer/

Maybe you are looking for

  • iMac 27 in bootcamp Windows 7 connected to an iMac 27 OS x running in Display Mode target

    The second iMac to just display mode acts as a mirror for the first Mac or is it a second doubling your horizontal resolution monitor? I want to drag the apps to a second screen when I do a Windows Dev work.

  • Activation microphone Qosmio G25

    HelloUnsuccessful so far tried to activate the built in mike as well as a plug-in of mike in spite of tweaking the settings of Soundmax.Any ideas?You want to use Skype on the mobile phone.See you soon,.Peter

  • Pavilion p7-1010: Corsair 500W power supply

    I have a p7-1010, providing greater power needs because of a new graphics card, and I'll probably go with a Corsair 500W, based on several recommendations on this site. The power supply being replaced is a REV Bestec ATX-250-12Z. D7R, which measures

  • Please my code is cnu9310y0s

    Please my code is cnu9310y0s

  • IntelliPoint and zoomfunction / Magnifier

    Hello, I use the zoomfunction/magnifying glass. I put it to my mouse scroll button and I can add/remove the magnifying glass with a single click. Very useful.  Everything works fine Windows XP but now I have windows Vista for a few months and there i