Flex default locale issue

I've reinstalled my windows 7. Everything is set to English or United States. My flex-config.xml locale is set to en_US. Although everything seems to be non-portuguese, everytime I create a new project the default locale is pt_BR and when I debug my projects errors and messages are shown in portuguese.
Any clue?!
Thakns,
Peter

http://developers.sun.com/dev/gadc/faq/locale.html
sounds like you followed this:
http://developers.sun.com/dev/gadc/faq/locale.html#def-locale
can you double check with the link refereenced at docs.sun.com?
http://docs.sun.com/app/docs/doc/816-0677/6m758jcqf?a=view

Similar Messages

  • Solaris 9 Default locale Issue

    Though I have setup the /etc/default/init with the desired values for the locale variables and rebooted the server, with I login and enter the locale command, the results do not match what is defined in /etc/default/init. Is there any place else to set the locale variables other than /etc/default/init besides the in the .profile for my Unix login id?
    thank for any help

    http://developers.sun.com/dev/gadc/faq/locale.html
    sounds like you followed this:
    http://developers.sun.com/dev/gadc/faq/locale.html#def-locale
    can you double check with the link refereenced at docs.sun.com?
    http://docs.sun.com/app/docs/doc/816-0677/6m758jcqf?a=view

  • [SOLVED]X server locale issues

    Ok so I had this common issue with the glibc update (deleted everything but modules in /lib) and I had to manually unzip an older glibc package in my / folder. After that I rebooted my system, updated fully (latest glibc & symlinked /lib to /usr/lib properly). I then started X normaly but I noted this:
    http://pastebin.com/xfd3tXB7
    So although X boots fine, i have this minor locale issues. I guess it has to do with the fact that I am using greek language. I have installed a greek-Inconsolata font back then and now it is not displaying properly on the urxvt (just some weird chars). I can however switch keyboard layouts just fine and type in both languages (greek/english)
    rc.conf
    # /etc/rc.conf - Main Configuration for Arch Linux
    # See 'man 5 rc.conf' for more details
    # LOCALIZATION
    HARDWARECLOCK="UTC"
    TIMEZONE="Europe/Athens"
    KEYMAP="us"
    CONSOLEFONT=
    CONSOLEMAP=
    LOCALE="en_US.UTF-8"
    DAEMON_LOCALE="yes"
    USECOLOR="yes"
    # HARDWARE
    MODULES=(fglrx snd-usb-audio)
    USEDMRAID="no"
    USEBTRFS="no"
    USELVM="no"
    # NETWORKING
    HOSTNAME=GliderVillage
    interface=wlan0
    address=
    netmask=
    broadcast=
    gateway=
    NETWORK_PERSIST="no"
    # DAEMONS
    DAEMONS=(dbus syslog-ng wicd crond xkbevd wireless-regdom mpd)
    Edit: Btw there is no locale.conf file in my system Oo
    Last edited by Crone (2012-08-24 13:58:25)

    Hmm i did not use locale-gen. I used it now .Do I need to reboot after that? Because restarting X doesn't work
    locale -a: (before and after locale-gen without reboot)
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_MESSAGES to default locale: No such file or directory
    locale: Cannot set LC_COLLATE to default locale: No such file or directory
    C
    POSIX
    locale: (same)
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_MESSAGES to default locale: No such file or directory
    locale: Cannot set LC_ALL to default locale: No such file or directory
    LANG=en_US.UTF-8
    LC_CTYPE="en_US.UTF-8"
    LC_NUMERIC="en_US.UTF-8"
    LC_TIME="en_US.UTF-8"
    LC_COLLATE="en_US.UTF-8"
    LC_MONETARY="en_US.UTF-8"
    LC_MESSAGES="en_US.UTF-8"
    LC_PAPER="en_US.UTF-8"
    LC_NAME="en_US.UTF-8"
    LC_ADDRESS="en_US.UTF-8"
    LC_TELEPHONE="en_US.UTF-8"
    LC_MEASUREMENT="en_US.UTF-8"
    LC_IDENTIFICATION="en_US.UTF-8"
    LC_ALL=
    Last edited by Crone (2012-07-28 17:24:08)

  • [sovled] gnome3.12 locale issue, cannot open gnome-terminal

    I update gnome from 3.10 to 3.12, everything works fine except that I cannot open gnome-terminal, the error message shows
    (process:2410): Gtk-WARNING **: Locale not supported by C library.
    Using the fallback 'C' locale.
    Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.Terminal exited with status 1.
    The other problem is that I cannot start fcitx(I use it to input chinese) either, there is somethings wrong in my locale, when I type 'locale ' it shows
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_MESSAGES to default locale: No such file or directory
    locale: Cannot set LC_ALL to default locale: No such file or directory
    LANG=en_US-UTF-8
    LC_CTYPE=en_US-UTF-8
    LC_NUMERIC="en_US-UTF-8"
    LC_TIME="en_US-UTF-8"
    LC_COLLATE=C
    LC_MONETARY="en_US-UTF-8"
    LC_MESSAGES="en_US-UTF-8"
    LC_PAPER="en_US-UTF-8"
    LC_NAME="en_US-UTF-8"
    LC_ADDRESS="en_US-UTF-8"
    LC_TELEPHONE="en_US-UTF-8"
    LC_MEASUREMENT="en_US-UTF-8"
    LC_IDENTIFICATION="en_US-UTF-8"
    LC_ALL=
    I try to reinstall the glibc or regenerate the locale-gen, but none of them solve the problem,  so can anyone help me? thanks.
    Last edited by wntyygtwxf (2014-04-11 10:25:48)

    I have resolved this issue. The reason I guess is also "locale"
    "$localectl" output "System Locale: n/a" and I check the /etc/locale.conf I found this file is lost.
    So after I press below command and reboot the machine, gnome-terminal could be started.
    # localectl set-locale LANG="en_US.UTF-8"
    Thanks all!
    gogoer wrote:
    I don't meet C locale error message after I exec gnome-terminal. Although that, I post below output. 
    ~  locale -a
    C
    en_US
    en_US.iso88591
    en_US.utf8
    POSIX
    zh_CN
    zh_CN.gb18030
    zh_CN.gb2312
    zh_CN.gbk
    zh_CN.utf8
    ~  localectl
    System Locale: n/a
    VC Keymap: n/a
    X11 Layout: n/a
    clfarron4 wrote:@gogoer, did you also get a message about the C locale, or is this an unrelated issue (in which you need to start a new thread)?

  • Default-locale setting is ignored!

    Hi gurus,
    i tried following:
    <application>
    <message-bundle>mymessagess</message-bundle>
    <locale-config>
    <default-locale>en</default-locale>
    </locale-config>
    </application>
    In my application the locale is still de.
    What have i done wrong?
    Or how can i set the local in faces-config?!?!?
    Regards
    Wolle

    Hi,
    Have you tried it with the latest weekly build? You can find it at javaserverfaces.dev.java.net .
    I think you are regarding to issue 8 which has been solved.
    Greetings,
    Romano

  • Setting default locale

    I'm having an issue with locales. I'm running SJSAS 8 and every morning (temporarily) a cronjob will reboot the whole system then start up the app server. The problem is that some of our characters in our webapps are showing up as question marks, I think because the locale of the startup user is either incorrect or undefined. If I start up the appserver with a user whose locale is set to something (like en_CA), then there are no issues. So I figured its an issue with the user that executes the cron. I changed the default locale (etc/default/init) to en_CA and rebooted. The next day when the cron ran and the system rebooted, the character issue remained. Is there some other locale I must set?
    thanks

    Ellen Kraffmiller wrote:
    Hi,
    How can I configure weblogic to use a default Locale that is different from the platform's default Locale? (Weblogic 6.1 on Solaris)
    ThanksThe locale of weblogic startup scripts or console?
    Thank you,
    Neo Gigs
    [email protected]
    "Follow the white rabbit..."

  • How to set default locale in JDK1.3.0 to US?

    Hi, everyone!
    I found the default locale in JDK 1.3.0 is not set to US when I converted our JDK from 1.2 to 1.3.0. So I have to change code by passing Locale.US.
    The output from below test code is:
    default=��100.00
    US=$100.00
    import java.util.Locale;
    import java.text.*;
    public class TestCurrency
    public static void main(String[] args)
    int amount = 100;
    //default
    NumberFormat moneyWriter = NumberFormat.getCurrencyInstance();
    System.out.println ("default=" + moneyWriter.format(amount) );
    //US
    moneyWriter = NumberFormat.getCurrencyInstance(Locale.US);
    System.out.println ("US=" + moneyWriter.format(amount) );
    Can anyone tell me how to set default locale in JDK 1.3.0 to US?
    Thanks!

    You have to set something on your computer (outside Java) to tell it that you are in the US. You didn't say, but I'm going to guess that you are using Windows; if that's so, then try Regional Options in Control Panel.

  • Maintaining default locale in multi-lingual application

    Hello,
    I have a multi-lingual application where the language can be changed at runtime.
    To make the following code work properly, the default locale has to be set each
    time the language changes. Why?
    Since I need to check sometimes the platforms original locale (I do this with
    "Locale.getDefault()"), I am looking for a way not to change the default locale,
    but still to change the resourceBundle.
    In the API I read under "ResourceBundle, Cache Management" that the bundles are cached. Is this the reason why redefining the resourceBundle has no effect? And if yes, how can it be avoided?
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import javax.swing.*;
    public class Y extends JFrame {
      boolean toggle;
      Locale currentLocale;
      JButton b;
      ResourceBundle languageBundle;
      String country, userLanguage;
      public Y() {
        setSize(300,300);
        setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
        Container cp= getContentPane();
        b= new JButton();
        b.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent evt) {
         toggle= !toggle;
         if (toggle)
           country= "DE";
         else
           country= "GB";
         setUserLanguage(country);
        cp.add(b, BorderLayout.SOUTH);
        setUserLanguage("GB");
        setVisible(true);
      public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
          public void run() {
         new Y();
      void setUserLanguage(String country) {
        if (country.equals("DE"))
          userLanguage= "de";
        else
          userLanguage= "en";
        currentLocale = new Locale(userLanguage, country);
    //    System.out.println(currentLocale); // The locale changes ...
    //    Locale.setDefault(currentLocale); // Remove comment slashes and it works.
    //    languageBundle.clearCache(); // No effect.
        languageBundle = ResourceBundle.getBundle("MyBundle",currentLocale);
        System.out.println(languageBundle); // ... but the resourceBundle does not change.
        b.setText(languageBundle.getString("ButtonText"));
    The resource bundle files:
    MyBundle.properties
    ButtonText= Just a button
    MyBundle_de_DE.properties
    ButtonText= Nur ein KnopfEdited by: Joerg22 on 18.08.2008 13:26

    What's your default locale? If your default locale is de_DE, that's the expected behavior. The reason for it is the fallback mechanism searches default locale's bundle before falls back to the base bundle, i.e., in case of searching en_GB bundle, the search order is:
    en_GB
    en
    de_DE
    de
    (base)
    So, it will choose MyBundles_de_DE.
    If you do not want this default locale fallback, you can specify ResourceBundle.Control instance, which is returned from ResourceBundle.Control.getNoFallbackControl() method, in your getBundle() call. Or if you do not use JDK6, you could copy the base bundle to MyBundles_en, which is ugly but should work.
    Naoto
    Edited by: naoto on Aug 18, 2008 1:05 PM

  • Can I set the default locale for jvm

    Hi,
    Can I set the default locale for jvm?
    How to do it?
    Pan

    My windows default locale is chinese .I have thought of your opinion. But in
    windows nt , if I change the locale , all the environment will be
    destroyed(just like reinstall it , it's difficult for me) . So , Is there
    any other approach?
    Dimitri Rakitine <[email protected]> wrote in message
    news:[email protected]...
    Did you try to change the locale in the Windows control panel?
    (Control panel -> Regional Options -> Your locale)
    Pan YangBin <[email protected]> wrote:
    I have tried changing this system property and other properties such
    as -Duser.language=en -Dfile.encoding=Cp1252 , but all these properties
    did
    not changed, you can get this infomation from the log file .Maybe these
    system properties are readonly.
    Thanks very much.
    Pan
    Chris Halstead <[email protected]> wrote in message
    news:[email protected]...
    Try adding -Duser.region=US to the java command line used to start
    WebLogic...
    -chris
    "Pan YangBin" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    The problem exists in my project still exist.That is it.
    When I did not set weblogic.jsp.encoding to GB2312 in my web
    application(web.xml), and when the jsp file contain's chinese , the
    output
    will be error(error chinese) .And when I did not set it , the output
    is
    correct, but when I use request.getParameter("SomeFormElement")(theelement
    inputed chinese), the return value is error(still chinese error).And
    when
    I
    am in windows nt english version and do not set this property, all
    these
    two
    problems dispear. And I try to compare the java files those were
    generated
    by weblogic from the jsp file , there is only two additional clause
    in
    the
    java file. That's it:
    ((weblogic.servlet.jsp.JspWriterImpl)out).setEncoding("GB2312");
    response.setHeader("Content-Type", "text/html; charset=GB2312");
    (the web.xml has <context-param>
    <param-name>weblogic.jsp.encoding</param-name>
    <param-value>GB2312</param-value>
    </context-param> to be set
    So, I think maybe it works well if I change the default locale toenglish.
    And unfortunately, your method is also failed.(I have to use weblogic
    in
    chinese environment)
    Would you please help me to solve this problem?
    Pan
    Dimitri Rakitine <[email protected]> wrote in message
    news:[email protected]...
    Try java ... -Duser.language=en ...
    or mode con cp select=437 in the command prompt before running
    weblogic.
    Pan YangBin <[email protected]> wrote:
    I'm using weblogic server 5.1 sp6 in chinese environment, and I
    want
    weblogic compile my jsp with en_us locale . So I can't use
    Locale.setDefault(new Locale(...)) to set the default locale ,butI
    really
    want someway configure.
    Pan
    Dimitri Rakitine <[email protected]> wrote in message
    news:[email protected]...
    Locale.setDefault(new Locale(...)) ?
    Pan YangBin <[email protected]> wrote:
    Hi,
    Can I set the default locale for jvm?
    How to do it?
    PanDimitri
    Dimitri
    Dimitri

  • Default locale support for texts datasources

    Hi,
    I faced with problem - does BW support default locales ?
    I have some texts datasources which contain some list of entries for default locale. The question is - what value of LANGU field I should setup for  these entries in order to BW recognize them as for default locales ?
    Thanks. I will be apprecated for any related info.
    Fiodar.

    Hi Fiodar,
    well I am not sure about your requirement, but it sounds like you want to add a default value to langu in case the source system doesn't deliver it.
    If this is the case, create a update routine in your transfer rules for 0langu. In the routine add the following coding:
    if tran_structure-spras is initial. "no language specified
    usually the R/3-field is called spras
      result = sy-langu. "or a literal like 'EN' ...
    else.
    pass the given language to the result of the routine.
      result = tran_structure-spras.
    endif.
    That's it.
    In case your datasource doesn't even deliver a field for the language, you can just set a constant value to 0langu in your transfer rules.
    regards
    Siggi

  • Where the Adobe Designer PDF Form "Default Locale" read from?

    I am designing PDF form using Adobe Designer. I have set the "Default Locale" in the Edit -> Form Properties. I have set the Display Pattern of numeric field to ZZZ,ZZZ,ZZ9.99. Based on locale, Adobe should format the numeric field accordingly. So where exactly the Adobe Designer read the locale and the number format? From SAP table, Adobe server OS, PC OS or from where? Because I need to check the locale setting ZZZ,ZZZ,ZZ9.99, ZZZ.ZZZ.ZZ9,99 and so on.

    Check in the Interface Or Form Builder -->Interface.
    Reward if Useful.
    Thanks,
    Anita

  • User.region and the default locale

    What is the difference between user.region, user.country and the default locale.
    Thanks

    Same problem here ! I called Apple Care and got two people during 2 hours on call, they were unable to explain why and just repeat that "the use of TVout for recording purpose are not supported by apple".
    Why this settings has to be hidden ?
    FYI : i'm able to capture Ipad 2 thru BMD Intensity Pro but not able to switch PAL and NTSC in TV OUT settings to get a correct input. TV OUT setting doesn't appear.

  • ADF default locale

    Hello,
    I want to change the default locale for my application and I set in faces-config the default language it. When I run my application the page it start with en - the default browser language.
    How can I make to start my application with it?
    Thank you.

    The locale of a JSF page is taken from the "locale" attribute of the <f:view> tag. If you do not specify a value for this attribute, then the JSF page's locale is determined based on the request's prefered locale (e.g. the list of supported locales specified in the browser's configuration) in conjunction with the locale configuration in faces-config.xml as follows:
    1) If the request's prefered locale is configured as a supported locale in faces-config.xml, then it is used, otherwise go to (2);
    2) If the request's prefered locale is "en", then it is used no mather if the locale "en" is configured as supported in faces-config.xml, otherwise go to (3);
    3) If the request's prefered locale is neither supported nor it is "en", then the default locale configured in faces-config.xml is used.
    As you can see, the step 2 of the algorithm is causing your problem. I am recommeding you to use the "locale" attribute of the <f:view> tag in order to workaround the problem. Note, that you should pass a Locale object to the "locale" attribute instead of some locale code.
    Dimitar

  • Default locale of application

    Hi,
    I am using Build JDEVADF_11.1.1.4.0_GENERIC_101227.1736.5923
    I have a basic query. I was playing around with locales. I set my application default locale and supported locale as below in the faces-config.xml
    <locale-config>
          <default-locale>en</default-locale>
          <supported-locale>ja</supported-locale>
    </locale-config>Now I launched my application on a browser set to 'en' language. In this case FacesContext.getCurrentInstance().getViewRoot().getLocale() indicates 'en' locale and when I set the browser locale to 'ja', FacesContext.getCurrentInstance().getViewRoot().getLocale() indicates 'ja' locale. Does this mean that FacesContext.getCurrentInstance().getViewRoot().getLocale() returns the locale of the browser? How do I programatically find the default locale of my application that was defined above (i.e. en)?
    Thanks
    Vishal

    Hi
    I want to show everything on my application in English.
    I dont want to user f:view locale="en"
    Also, i dont have any Java code where i case setLocale. I want to set at the time when my application is loading in the browser.
    When i set it in faces-config, the browser locale over rides the value set in faces-config.
    Is there a way by which i define the locale for my application and my browser dont override this value.
    TIA
    Edited by: 923867 on Apr 16, 2012 6:32 AM

  • 3.0 German local issue

    Hello,
    when I open the export dialog the field for the file name is not visible (it is, but only 2 px width)
    I have to pull the window some pixels wider, then the layout changes and it is fully visible.
    This only happens with my default local settings. When I change to English with
    AddVMOption -Duser.language=en
    AddVMOption -Duser.country=USthen the field is always visible. Maybe because the text "Save as" is shorter than "Speichern unter".
    Similar problem: Tools - Preferences - Database - Object viewer -> The button to reset the filters etc is not visible in the german version without enlarging the window. Or should I say it is visible but only as [...] and it looks like a link for more informations. Perhaps it can be placed under the description.
    Regards
    Marcus

    Thanks again for the detailed feedback. The dialog box is not automatically growing for the longer length lines.
    I have raised a bug.

Maybe you are looking for