Adding multiple locales to TwitterTrends mobile sample - not working

Hi All,
I have been having trouble adding support for muliple locales in my application so I desided to try it out with TwitterTrends sample application. Should be easy, but not working for me...
What I did:
1. Add locale folder under assets with an en_US sub folder
          src/assets/locale/en_US
2. Create a properties file for en_US and save to src/assets/locale/en_US
     src/assets/locale/en_US/twittertrends.properties
3. Add a single resource key for the home view in 'twittertrends.properties'
     views.home.title=Twitter Trends
4. Update the TwitterTrendsHome.mxml to use fetch the title from the properties file
     title="{resourceManager.getString( 'twittertrends', 'views.home.title' )}"
5. Add the locale folder to the applications source path, I did this by modifying the additional compilter args for Flash Builder:
     -locale en_US -source-path=assets/locale/{locale}
Result:
No title is displayed..
I am not sure what I did wrong. Any help is much appreciated.
Has anyone else seen/not seen this issue?
Cheers,
Greg

Try adding
<fx:Metadata>
    [ResourceBundle("twittertrends")
</fx:Metadata>
The problem is that the compiler isn't smart enough to tell that you're using the 'twittertrends' resource bundle unless you tell it so via [ResourceBundle] metadata. It doesn't try to analyze the ActionScript code inside of databinding expressions to determine what parameters you are passing to ResourceManager functions, etc.
If instead of databinding you use the @Resource() compiler directive, as in
title="@Resource('twittertrends', 'views.home.title')"
then it should be able to figure this out without the [ResourceBundle] metadata. But this way of doing it doesn't support switching the locale at runtime.
Gordon Smith
Adobe Flex SDK Team

Similar Messages

  • Mac OS X v 10.5.8.    My "Weather" on the dashboard no long works.  I have deleted it and added it anew and it still does not work. How can I get it back?

    My "Weather" on the dashboard no long works.  I have deleted it and added it anew and it still does not work. How can I get it back?

    You must get 10.6 if they still have it, install it & update to 10.6.8 so you have the App Store to buy & download the huge 10.8 Installer.(10.9/Mavericks is the only download avaiable now without specially calling Apple).
    Snow Leopard/10.6.x Requirements...
    General requirements
       * Mac computer with an Intel processor
        * 1GB of memory (I say 4GB at least, more if you can afford it)
        * 5GB of available disk space (I say 30GB at least)
        * DVD drive for installation
        * Some features require a compatible Internet service provider; fees may apply.
        * Some features require Apple’s MobileMe service; fees and terms apply.
    Which apps work with Mac OS X 10.6?...
    http://snowleopard.wikidot.com/
    It's been pulled from the online store & Apple Stores, so you have to call Apple to buy it, last I heard.
    Buy Snow Leopard > http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard
    Call Apple Sales...in the US: 1-800-MY-APPLE. Or Support... 1-800-275-2273
    Other countries...
    http://support.apple.com/kb/HE57
    It looks like they might still have it...
    http://store.apple.com/us/product/MC573Z/A?fnode=MTY1NDAzOA

  • I got an IPAD 4 from one my friend which is lost mode, tried reaching owner on his mobile, which not working, anyway to reach the owner of IPAD?

    I got an IPAD 4 from one my friend which is lost mode, tried reaching owner on his mobile, which not working, anyway to reach the owner of IPAD?

    I"m afraid not. The iPad will be displaying only part of the ID, and Apple will not help you to find the owner's address (privacy laws). Without being able to reach the previous owner you will not be able to use the iPad.

  • Mobile Hotspot not working after upgrading to 4.4.2

    My husband and I have identical Motorola phones. He let his upgrade to Android 4.4.2 over a month ago. Since then, his Mobile Hotspot cannot be used to connect to our home PC. If you use your mobile hotspot, DO NOT LET IT UPGRADE!!!!!!!!
    Three visits to local Verizon store, more than 50 power-off's (many of them soft boots), a long phone call to Verizon support. Still not working. Except once two weeks ago for several hours, then failed again. About a week ago,our HP laptop started connecting to the Hotspot, but the desktop cannot. My hotspot (which is fortunately still running 4.1.2) provides internet access just fine. Strange new symptom last week: once the laptop has connected to the 4.4.2 Hotspot, the desktop can as well. Sigh. Verizon offered to replace his phone under warranty, but the new one is expected to arrive with the latest version. I am not optimistic about that. Others must be having the same problem. Perhaps not as desperate as us because it is our only internet service at our rural home. We are still paying full price for our plan, but do not have the service. And, we have spent literally a hundred hours trying to debug this. Come on, Verizon, this needs to be fixed!

    RAZR M
    Just tried another soft boot. Same behavior.
    Thank you for responding.
    Sent from my Verizon Wireless 4G LTE DROID

  • Android mobile does not work with submit fdf format

    I want to gather data by mobile device (Android) as JavaScript does not work well in this environment, I intend importing the gathered data into a report PDF form with JavaScript functions etc., however the Acrobat mobile reader does not appear to work with the submit function for sending data (FDF format) by E Mail.
    We are using Acrobat XI in most cases to gather this data and this works well, however we are experimenting with mobile options which are very limiting, and therefore we thought by just gathering the data on a mobile device we could import it into our working windows pdf form, our trials using this concept in a windows environment work, but we stumbled once we found that the submit button does not work in the android reader to send the FDF data.
    Does anyone know of a work around?
    Regards Mike

    FormsCentral can be a bit confusing, so I'll try to clarify some things. It allows you to work with two completely different types of forms: web forms and PDF forms. Web forms are HTML forms and are hosted on the FormsCentral server and loaded into and submitted via the user's browser, so web forms do require internet access.
    FormsCentral can also process submissions from PDF forms, and the forms can either originate from Acrobat or the FormsCentral designer, either the desktop app that comes with Acrobat 11 or the browser-based app. The FormsCentral designer allows you to create PDF forms with simple layouts, whereas Acrobat gives you much more flexibility. Designing a PDF form in FormsCentral can be helpful if you want to be able to use the same form for both a web form and a PDF form, allowing to to take advantage of each type at the same time, but you are not limited to PDF forms that are created by the FormsCentral designer.
    Regardless of how the PDF was created, it can be set up to submit the form data to the FormsCentral server, which is done using the same format as a web form. It is done securely using HTTPS. There are certain features that are supported with PDF forms that aren't supported by FormsCentral, but this is usually not a problem. The most significant limitation is the 500 field limitation, so some larger forms aren't possible.
    Once you have a PDF form created in Acrobat, you simply import it into FormsCentral and it gets uploaded to the FormsCentral server, where it is Reader-enabled, a submit button is automatically added, and is then downloaded so you can distribute it by placing it on your web site, sending by email, etc. So unlike web forms, FormsCentral does not host them for you.
    It is possible to use Acrobat to modify the PDF that you download, first by selecting in Acrobat "File > Save a Copy", opening the copy, and making the changes. This is often done to change the submit button (size, location, other properties) of the submit button that gets added. You can then Reader-enable in Acrobat if needed and distribute the form.
    Since it's a normal PDF form that is Reader-enabled, Reader users will be able to open it, fill it in, and save it at any time using Reader for Windows/Mac or Reader for Android/iOS. The latter currently only support submitting via email or to FormsCentral, as opposed to your own web server. Once the user has access to the internet, they can open the form and press the submit button. If the submit is successful, the FormsCentral server returns a response so the user gets some feedback, unlike with email "submits".
    Each submission is automatically stored in the responses table, which you and team members can view at any time. An individual response can be downloaded as a filled-in PDF, or you can download the entire table and import the data into a spreadsheet for further analysis. As mentioned earlier, you can set it up so that you and others can receive an email for each submission, and it can include the form data in the body of the email if wanted.
    Post again if you have any questions, or go to the FormsCentral forum here. The forum is generally very good, but sometimes questions about PDF forms are not answered entirely accurately, so it's sometime helpful to post here too.

  • Mobile sync not working for groups

    Hello guys,
       i've been playing with Mavericks Server and so far everything is working smoothly except for the mobility sync...
    i successfully created a Local Network Account and was able to successfully sync it to the Server using AFP and a specific folder...
    This is working awesome, but here comes the issue:
    i setup another Local Network Account and assigned it to a Group and used Workgroup Manager (on the same server) to setup the mobility sync for the group...
    Now, when i try to login, the mobile profile gets created on the computer but does not sync to the server, it syncs locally instead or i get the error "The sync could not complete because your network home at "(null)" does not allow writing...
    if i try Profile Manager websiteit does not work either...
    i know this works for a single user, but if i want to sync it using groups it fails....
    I've tried finding a possible answer and so far nothing...
    Im using OS X Server 3.1.2 and Workgroup Manager 10.9 (421)
    Can you please help me out?
    Thanks in advance...

    Anyone?

  • BIP Report in Siebel mobile is not working in languages other than English

    Hi,
    We have upgraded our Siebel from 7.8 to Siebel 8.1 and in that we have moved from Actuate to BIP Reports. We have created a customized report in which we have put in the Filters on '.rtf' file to show a particular set of data. This report is deployed for 3 languages : English (ENU), Portuguese (PTB) and Spanish (ESN).After deploying this report, on Web application, it is working fine for all the languages but we are facing an issue on mobile client, the report is only working fine in ENU but for other languages(PTB & ESN) it is failing (means the filter which we put on '.rtf' is not working on other languages).
    Is anybody face this issue and what will be the solution for this?

    Hi
    I think you need to first translate the smartform into other languages. Before translation, it wont work.
    Steps for translation:
    1. goto Transaction SE63
    2. in R3 Enterprise select form menu
    Translation - ABAP Objects - Other long texts
    3. select FS - SSF-Smart Form
    4. Object Name: choose your smart form
    5. select target language
    6. press edit
    Regards,
    Vishwa.

  • Rogers 920 on T-Mobile Tethering Not Working

    Hello,
    I bought an unlocked Rogers CA Nokia 920.3 device with pentaband support for use on the T-Mobile network. I entered the APN settings for MMS and internet manually and everything works fine except the internet sharing only works some of the time and other times I get the error "There's no cellular data connection to share right now" even if there is cellular availability. The internet on the phone is fully functional, just not the sharing. I have an unlimited plan with tethering on T-Mobile and should not be having this problem.
    I have so far tried the spanish keyboard trick and the foreign SIM configuration trick and they work some of the time but only temporarily. I have tried installing access point which ends up taking me to T-Mobiles website to add tethering (even though I already have it), so that does not work.
    Long story short, the access point application does not set up the phone for proper tethering on T-Mobile and the stock unlocked Rogers ROM does not work consistently. AP needs to be updated and fixed or some other setting somewhere else in the phone is awry. Is there another ROM I can use and keep pentaband support with tethering? Please advise.
    Thank you,
    Chris
    Lumia Black
    OS: 8.0.10517.150
    Firmware: 3051.40000.1347.1001
    Hardware: 6.0.0.1
    Radio Software: 1.0.202158.3
    Chip SOC: 8960

    Bump, bump, bump. Add unlocked 1020 and retail Lumia 1020 (from a Microsoft Store) to this list. This is definitely a T-Mobile problem, but someone from Microsoft/Nokia needs to make them fix it.

  • My Iphone will not show up in Itunes. I have tried re installing Itunes and all the Apple devices multiple times and it still will not work. Help!!!

    My itunes is making me crazy. I have updated to IOS 6 on my phone from my friends computer. Then I had to also restore it. I tried re connecting to my computer but the itunes just says that it is not compatable. I tried turning the phone on and off. Restarting it and the computer. I have also un installed and re installed itunes and the apple support systems. I have no idea what to do now. Please help!

    Security Software and Related Troubles
    http://support.apple.com/kb/TS3125          Basic Troubleshooting
    http://support.apple.com/kb/TS3297          Advance Troubleshooting
    http://support.apple.com/kb/ts1629          Ports List
    Basics
    Check correct date, time, and timezone.
    Log in as administrative user account
    Verifiy iTunes updated
    Update Operating System “OS” (Ms Windows, Mac OSX)
    Update Modem / Router firmware
    Update security software (Antivirus, Firewall)
    Remove Outdated Security Software (Always restart afterwards)
    Advanced
    Remove Mobile Software not used anymore
    (Motorola, Android, Nokia, Sony, Blackberry)
    Add Apple programs to firewall permissions
    Allow Ports 80, 443, 3689, 5297, 5298, 5353, 8000-8999, and 42000-42999
    Permit Domains - apple.com , edgesuite.net , mzstatic.com
    Disable Security Software
    Remove Security Software (restart!)
    Delete “Hosts” file and restart, or edit and save.
    Check Browser Settings: Use SSL3, TLS1, Auto Detect, No Proxy Settings
    Reinstall itunes FOLLOWING ARTICLE while all security off / disabled or completely removed.
    http://support.apple.com/kb/HT1923
    http://support.apple.com/kb/HT1925

  • SSRS 2008 Work order Report , when added item descriotion , somehow costgroup id is not working , donot know why, ( need help)

    SSRS 2008 Production orders created report, when I added item description some how cost group id is not working ,
    my costgroup id did not break into labor , only Mat Cost showed in the total,
    my query is as below,  did I link the wrong field,   I want to show Labor total also
    can some one suggest what I did wrong .
    any advise will be great
    SELECT        PRODTABLE.PRODID, PRODCALCTRANS.COSTGROUPID, PRODTABLE.QTYCALC, PRODTABLE.PRODSTATUS, PRODCALCTRANS.COSTAMOUNT,
                             PRODCALCTRANS.COSTMARKUP, PRODCALCTRANS.REALCOSTAMOUNT, PRODCALCTRANS.CALCTYPE, PRODTABLE.DATAAREAID, PRODCALCTRANS.KEY3,
                             PRODCALCTRANS.CONSUMPVARIABLE, PRODCALCTRANS.REALCONSUMP, PRODTABLE.ITEMID, PRODTABLE.SCHEDDATE, PRODTABLE.FINISHEDDATE,
                             PRODCALCTRANS.KEY1, PRODCALCTRANS.TRANSDATE, PRODCALCTRANS.QTY, PRODCALCTRANS.KEY2, PRODCALCTRANS.COLLECTREFLEVEL,
                             PRODCALCTRANS.LINENUM, INVENTTABLE.ITEMNAME, INVENTTABLE.ITEMID AS Expr1, PRODTABLE.INVENTTRANSID
    FROM            PRODTABLE INNER JOIN
                             PRODCALCTRANS ON PRODTABLE.PRODID = PRODCALCTRANS.PRODID AND PRODTABLE.DATAAREAID = PRODCALCTRANS.DATAAREAID INNER
    JOIN
                             INVENTTABLE ON PRODCALCTRANS.DATAAREAID = INVENTTABLE.DATAAREAID AND PRODCALCTRANS.KEY1 = INVENTTABLE.ITEMID
    WHERE        (PRODTABLE.PRODSTATUS = 7) AND (PRODTABLE.DATAAREAID = N'AR1') AND (PRODTABLE.ITEMID = @itemid) AND
                             (PRODTABLE.FINISHEDDATE >= @Paramfromdate) AND (PRODTABLE.FINISHEDDATE <= @Paramtodate) AND (PRODCALCTRANS.COLLECTREFLEVEL
    = 1) AND
                             (PRODCALCTRANS.CALCTYPE >= 0)

    Hi Bitia,
    As per my understanding, after you add Item field to the report, it does not calculate total of matl group, right? If that is the case, please refer to the following steps to troubleshoot the problem:
    Modify the dataset used to retrieve data, delete the fields will not be used in the report.
    Run the query in SQL Server Management Studio (SSMS) to make sure that there is data for matl cost group.
    Make sure that row group and totals are correctly added.
    In addition, do you want to add Finished date to page header? If that is the case, we can use ReportItem to achieve the goal. Please refer to the following steps:
    In design surface, right-click the report and click Insert, then click Page Header.
    Drag Text Box from Toolbox to page header.
    Right-click inside of Text Box, then click Expression.
    In the expression text box, type the code like below:
    =ReportItems!FinishedDate.Value
    If the problem remain unresolved, please provide the screenshot of the report in design view, the following screenshot is for your reference:
    Reference:
    ReportItems Collection References
    Adding Grouping and Totals
    Thanks,
    Wendy Fu

  • Flash working fine in local system... Not working in the live site - Need Help :(

    Hi All...
    I have a flash project, its working fine in local system and checked this file with uploading in someother websites, its working fine there too, but the same file is not working in live
    here is the link of the site, its showing blank page, the flash contents are not loading...
    http://www.aysotraining.com/U8_Coach_test.html
    and here the same file which i have uploaded it in other server its working fine...
    http://deals2deal.com/krgtech/u8coach_test.swf
    can anyone help me to fix this problem please....???
    Thanks in advance,
    Vasanth

    Hi Thanks for your reply. Actually u8coach.swf this an existing file, it is working. i have updated some details in this file and uploaded it again with the name u8coach_test.swf its not working. this same file working another server http://deals2deal.com/krgtech/u8coach_test.swf. this is what my issue. This file is working another server after my updation, but its not working it's own server after my updation. Can you find the problem what it is??
    Thanks in advance,
    Vasanth

  • HT204023 hi there can any one help me i have a iphone 5 but my mobile internet not working but i can connect to my wifi no bother

    hi there can any one help me i have a iphone 5 but my mobile data is not working but a can connect to my wifi no bother

    talk to your carrier about the data subscription and possible settings changes to their apn than

  • Adding contacts to my new 8900 is not working.

    adding contacts from oultlook and /or outlook express to my new 8900 is not working. i tried everything from removing and re-installing the desktop manager to removing the battery of the device. nothing seems to be working.

    Ah, very helpful when we have the complete information.
    Desktop Manager 4.7 is not compatible with Outlook 2000, so that won't work. You will need to use DM version 4.2, Service Pack 2; or upgrade your Outlook to 2003 or better.
    For Express, it should work with Outlook Express 6. Check your advanced sync settings configuration and make sure you have it set to two-way sync and to notify you. 
    Desktop Manager 4.7:
    The following organizers are supported for use with Intellisync:
    IBM Lotus Notes 6, 6.5, 7, 8
    Microsoft Outlook 2002, 2003, 2007
    Microsoft Outlook Express 6, Microsoft Windows Contacts (Vista Address Book)
    Novell GroupWise 6.5, 7
    Yahoo!®
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • My T-Mobile Mobile Web not working on MacBookPro

    Yodels.
    I have a new T-Mobile Rocket 3.0 4G webstick and it will not work on my 13" MacBookPro running Snow Leopard 10.6.8
    When I start the software up, it seems to stall, run, stall, run, and then I have to force quit. When I go to Preferences, it says it's connected to the interent with an IPv4 address using DCHP. However, using any browser, I get a error message stating server not found.
    Talked with t-mo and they say it's a compatibility issue with my OS and that I need to take it to the Apple store to fix the problem. They say this as I am connected with the internet and they've pinged my computer. I get text messages, but that may just be using the carrie signal, not the 4G.
    I am wondering if anyone here has actually had the issue and what were the fixes.
    Notes:
    All my software is up to date:
         The T-Mobile WebConnect
         Firmware in the Rocket 3.0 4G updated
         Mac OSX fully updated including Java
    Turned off Firewall, including "Stealth Mode," to see if that was issue.
    Have 4G with 4 bars of signal
    No other apps but the Webconnect and Firefox
    Thanks in advance for the help.

    Hi Jesusv87,
    Thanks for using Apple Support Communities.  This article has some steps you can take for issues sending and receiving MMS messages:
    iOS: Troubleshooting Messages
    http://support.apple.com/kb/ts2755
    If you still can't send or receive MMS messages
    To send and receive MMS messages on your iPhone, verify that your wireless carrier supports MMS2.
    Ensure that MMS Messaging is turned on in Settings > Messages.
    Verify that your phone is able to access cellular data.
    Some carriers allow you to edit your APN (Access Point Name), which may prevent MMS from working.
    If you are roaming outside your calling area, make sure you have Data Roaming turned on in Settings > General > Cellular to send or receive MMS content.
    While on a phone call, you will be unable to send or receive MMS messages when using an EDGE, GPRS, or any CDMA cellular data network. After the phone call ends, you will receive any incoming messages. If you tried to send an MMS message, you may need to send it again.
    If the issue persists and your wireless carrier has confirmed that your wireless account is provisioned2 for MMS, restore the iPhone.
    If this doesn't help, please reply with any steps you are unable to complete and any additional information such as exact error messages or strange behavior.
    Cheers,
    - Ari

  • Unlocked iPhone from T-Mobile does not work in Switzerland

    I'm extremely annoyed. I bought myself a *so called unlocked* iPhone in Germany for 999 Euro and now it does not work with a Swiss SIM card. When I try to make calls via dialing or when i try to read text messages (sms) the phone and the sms application will crash. Calling the different helplines ends up in the same resutls: Apple care blames either Swisscom or T-Mobile, T-Mobile blames either Swisscom or Apple and Swisscom blames Apple or T-Mobile...
    In the end however, I can't get rid of the feeling that the problem could be solved by a very simple software update, because I've seen hacker reports on the internet claiming they were able to solve the problem by changing a few settings. I don't want to be forced to hack my legally bought so called unlocked iPhone. *When will Apple set the "unlocked" iPhone really free?*

    Hi Pete,
    welcome to the club! A you can see from this thread
    http://discussions.apple.com/thread.jspa?threadID=1260589&tstart=0
    you are not the only one. It seems as if the T-Mobile unlocked phones work with any German SIM card, but with non from not-Apple supported countries (like CH).
    Apple support is aware of the problem, as many of us have called them and submitted bug reports, but it remains to be seen, if Apple is interested enough in "us" to provide a solution.

Maybe you are looking for

  • Report on difference between PO price and Material standard price

    Hi, We need a report on Purchase price difference, which is report showing Open PO price & Material standard price, if there is a price difference This need to be run every day to avoid buyer changing price at PO level unless there is a valid reason

  • [Eclipse Problem] Selection does not contain a main type?

    well i am using a GUI builder software which generates java code, i made a simple one to test and it will not compile. import java.awt.*; import javax.swing.*; public class name  {      @SuppressWarnings("unused")      private void initComponents() {

  • The back of my mac is coming of can i replace this??

    the rubber o the bottom of my macbook is peeling of can i get this fixed or replaced??

  • ICloud Control Panel Runtime Error

    Hello, The Apple update service carried out an update yesterday to the latest versions of iTunes and iCloud Control Panel on my Windows 7 Toshiba notebook. Following the (requested ) reboot, all attempts to log into the iCloud Control Panel result in

  • Verizon Iphone 4s, Youtube/Facetime not working

    Just got my phone, these features havn't worked sense I got it. Ive tried using several diffent wifi locations to make sure it wasnt my own but, eveytime I try to launch a youtube video it says "Cannont connect to YouTube" and face time says "Could n