Date language

Hi all, this is my "stack":
Centos 5 + Oracle DB 10gR2 + Apache 2.0 + PHP 5
I localized oracle db in my language, italian, by setting the environment variables (NLS_LANGUAGE, NLS_DATE_LANGUAGE and so on...) and i can insert the dates in italian without problems (for ex.: 29-GIU-07) but when i use the php oci library to query the db i have to write the dates in english (then, if i query the db using iSQL*Plus i can see the dates in italian) and php shows me the dates in english too. My colleaagues with the same code, but in Windows (which is localized in italian), can use and see the dates in italian. How can i solve the problem?
Thanks.
UPDATE: i fixed the problem! The environment variables were set for the user "oracle" but not for the apache user, so i put the env. variables ORACLE_HOME, ORACLE_SID,
NLS_LANGUAGE, NLS_DATE_LANGUAGE in the .bash_profile of the apache user. I hope this will be helpful for someone else with the same problem.
Message was edited by:
GioDa

If you don't have permission to edit the apache user's bash_profile, you can also add the variables to the apachectl script in format:
VARIABLE-VALUE
export VARIABLE
a couple of mine are:
NLS_LANG=.AL32UTF8
export NLS_LANG
# Make sure the Oracle session sets the TimeZone to BST
ORA_SDTZ='Europe/London'
export ORA_SDTZ
make sure that you kill apache and then start again, not just a restart. If apachectl stop doesnt work to kill it, you may need something similar to
killall -9 -w httpd
Signal 9 will kill the apache process dead, use with care in production servers, see
http://www.kingcomputerservices.com/unix_101/sending_signals.htm
for details on the kill signals.

Similar Messages

  • NLS_DATE_LANGUAGE & ICX:Date Language

    Oracle documents says profile option value for is determined by session language, the NLS_DATE_LANGUAGE is set blank on both DB & Applicaion server.
    Current Profile value "ICX:Date Language" is set to "American", I want this changed to "American English". How do I change it?
    Any input is highly apreciated.
    Thnx

    user8260758 wrote:
    Oracle documents says profile option value for is determined by session language, the NLS_DATE_LANGUAGE is set blank on both DB & Applicaion server.
    Current Profile value "ICX:Date Language" is set to "American", I want this changed to "American English". How do I change it?
    Any input is highly apreciated.
    ThnxWhat is your application release?
    If you are on R12, it is not recommended to use this profile option --      Globalization Guide for Oracle Applications Release 12 [ID 393861.1]
    If you are on 11i, please see (Internationalization Update Notes for Oracle E-Business Suite 11i [ID 222663.1]). You can set this profile option at the Site, Application, Responsibility or User level -- Dates Appears in English After Upgrading to 11.5.10 or After Applying ATG-PF.H [ID 305367.1]
    Troubleshooting NLS issues with Oracle Applications [ID 1478859.1]
    Thanks,
    Hussein

  • Master Data Language problem

    After running our InfoPackage to extract master data text (such as 0item_categ text) using the default settings for a full extraction. We notice that the double byte characters are displayed as # symbols. We verified the R/3 and our BW/BI systems do have the correct language and Unicode support installed. Also our clients have the correct settings to display the Asian character sets. We checked the rsa3 on the R/3 side and see the correct characters but not on the BW/BI side. One thing we noticed is that any of the master data that is getting loaded to a PSA first works fine (such as 0matl_group) - it displays the correct characters but if the infoObject is a direct update (the ALE inbox and infoObject checked) it displays the # symbol just for the Asian character sets all other languages are displaying correctly - (there are 11 languages setup).
    Any help in understanding or troubleshooting this would be appreciated
    Thanks in advance

    Sandeep,
    Go to transaction RZ10. Select the instance profile.
    Click on languages.
    There check if JA is installed (there would be a check against JA if its installed)
    Cheers
    Prakash

  • Change date language

    Hi guys!
    Using forms 10g , my application has a radio button that gives the user the possibility to select the language (french/english). I would like to change the way date is displayed depending on the user's choice. I use :
    forms_ddl('alter session set nls_date_language=''FRENCH''')
    forms_ddl('alter session set nls_date_language=''AMERICAN''')
    to switch from example: 12-MAI-2007 to 12-MAY-2007. But it does not work. when I tried the alter command in SQL PLUS it works.
    Do you have any idea?
    thank you
    gbardet

    Yes, Kevin you are right., Instead,this note are obsolete Note:112389.1
    Forms NLS settings override the NLS settings of the server.
    Using FORMS_DLL ('ALTER SESSION SET .....'); will change the NLS_... in the
    server not in Client.

  • Configure database for arabic data language support.

    Dear Masters,
    i m creating database in arabic language support. all configuration has been done. but while i m getting error in putty.
    SQL> select # from tab;
    select # from tab
    ERROR at line 1:
    ORA-00911: ??? ??? ????
    SQL> show parameter nls
    NAME TYPE VALUE
    nls_calendar string
    nls_comp string BINARY
    nls_currency string
    nls_date_format string
    nls_date_language string
    nls_dual_currency string
    nls_iso_currency string
    nls_language string ARABIC
    nls_length_semantics string BYTE
    nls_nchar_conv_excp string FALSE
    nls_numeric_characters string
    NAME TYPE VALUE
    nls_sort string
    nls_territory string SAUDI ARABIA
    nls_time_format string
    nls_timestamp_format string
    nls_timestamp_tz_format string
    nls_time_tz_format string
    SQL>
    SQL> SELECT value$ FROM sys.props$ WHERE name = 'NLS_CHARACTERSET' ;
    VALUE$
    AL32UTF8
    but while i m trying to insert data from putty(putty is also configured on UTF8) i m getting ???????? on command prompt.
    even form6i also throwing same ????????
    kindly guide where i m wrong.
    THanks in Advs

    Where your database server is located does not matter, AIX or Windows or other os.
    And AL32UTF8 would mean a Unicode database which means it may be used to store basically any language characters.
    You need to look into client side locale settings, if e.g. windows pcs are setup properly or putty terminal configuration is correct.
    Please download and use Oracle SQL Developer, as it is Unicode "aware" and can be used to verify character data.
    In a Windows console window (cmd prompt), you need to take care of oem code page and matching char set part of NLS_LANG to indicate what's in use.
    c:\>chcp
    Active code page: 850
    c:\>set nls_lang
    nls_lang=.we8pc850
    c:\>sqlplus test
    SQL*Plus: Release 11.2.0.2.0 Production on Mon Sep 24 21:44:35 2012
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    SQL> select unistr('abcåäö\2514\2524\2534') from dual;
    UNISTR('A
    abcåäö└┤┴
    c:\>chcp 1256
    Active code page: 1256
    c:\>set nls_lang=.ar8mswin1256
    c:\>sqlplus test
    SQL*Plus: Release 11.2.0.2.0 Production on Mon Sep 24 21:44:49 2012
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    SQL> select unistr('abcåäö\2514\2524\2534') from dual;
    UNISTR('A
    abc??????The ?'s right above likely means that character replacement has ocurred, since character set in use by client does not define characters stored/retrieved from the database.

  • Date Language in format fmDay, fmDD fmMonth, YYYY

    Hello Apex People!
    I'h showing a date column in a report.
    How can I let the browser language decide, which language is used with
    format fmDay, fmDD fmMonth, YYYY, so that for example a "german browser user" would see something like Sonntag, 12.11.2006, but an englisch user would see Sunday, 12.11.2006?
    Thank you
    Johann

    You just need to alter the app in Globalisation to use Browser defined language. We have done this and it works a treat.

  • Removing Application data - languages

    Hi all, 
    am I likely to make any problems for myself by uninstalling foreign languages from my 8900?
    When clicking on Applications via the DTM, loads of languages are presented that I just don't need.  
    Can I go ahead & uncheck them?
    Many thanks in advance

    Yes, I did. I left only one language that I wanted (Spanish) - apart from English of course.

  • Enhancement International Prferences ---Date, Time, Language etc

    Pre tiger, international settings allowed one to have English dates etc set despite region/language settings.
    Tiger 'simplified' these settings by assuming that if you located your computer in (eg) Spain (which you need to for the correct time) all dates spoke Spanish. Also currency was assumed to be the Euro. Those people moving down to Spain from the UK -with Sterling based keyboards have a real inconvenience.
    In short, could the Region - Date Language - Times - Numbers - Currency be separated without non-changeable assumptions

    This is not the proper venue for bug reports or enhancement requests. Instead go to the Feedback Page.

  • Vendor line items language

    Hi All
    When I user FBL1N report i am able to see transaction details in one language and hearder info in the other language.
    Please suggest me to display the report in one language.................
    in vendor master data language field i made the change and it is not working as required.
    Regards
    Prasad

    Which languages you see in FBL1N?

  • How to find config table for the field "language" in infotype-0002

    Hi Gurus,
    We are implementing ECC 6.0 at our client site.
    The client wants to use language field in persoanl data infotype as mother tongue and include indian languages.
    He don't want all other languages like spanish etc instead he wants indian languages like Hindi,telugu,tamil etc.
    can any body please help me in which table we can configure this.
    Thanks in advance
    Regards
    AnanyaK

    Hi,
    You can enter the languages in the IMG
    Path is
    IMG-> Personnel Management-> Personnel Administration -> Personnel Data-> Languages
    Or  you can simply go for technical information in the field name and will get the table name for that field and can maintain in SM30
    Regards,
    Kapil Kaushal

  • Date Formats in Oracle Applications Forms and Oracle Self Service

    Can someone tell me what determines the Date format that appears on Oracle Applications Forms and Oracle Self Service ?
    *1.* In Oracle HRMS,all dates i see on the Forms are of the Format "MM/DD/YYYY" but my NLS Parameters are not in this format .I'm giving the results for the NLS parameters below.I thought the date formats are determined by the NLS format.Is there something else that determines the date format appearing on Oracle Applications Forms ?
    NLS_DATABASE_PARAMETERS
    NLS_DATE_FORMAT     :DD-MON-RR
    NLS_DATE_LANGUAGE     :AMERICAN
    NLS_LANGUAGE     :AMERICAN
    NLS_TERRITORY     :AMERICA
    NLS_INSTANCE_PARAMETERS
    NLS_DATE_FORMAT     :DD-MON-RR
    NLS_DATE_LANGUAGE     :
    NLS_LANGUAGE     :american
    NLS_TERRITORY     :america
    NLS_SESSION_PARAMETERS
    NLS_DATE_FORMAT     :DD-MON-RR
    NLS_DATE_LANGUAGE     :
    NLS_LANGUAGE     :american
    NLS_TERRITORY     :america
    *2* What about the profile option : ICX_DATE_FORMAT_MASK ? Does it determine the Date Format for Self Service alone or does it impact the date format appearing on Oracle Applications Forms and the actual database also ?
    *3* If I use a to_date function in ,say, a pl/sql function that i code for some custom requirements,what will be the output of the date format ? Does it take the format given in NLS paramaters or is it determined by anything else?
    Thanks in advance...

    Hi,
    Thanks for your reply ,but I'm still confused ..
    Here are the profile options I'm seeing for one of my instance :
    ICX: Date format mask - 12/31/1999
    ICX: Date language - American English
    ICX: Language - American English
    ICX: NLS Sort - BINARY
    ICX: Territory - United States
    ICX: Numeric characters - NULL
    NLS parameters are given in my original email.
    In Self Service applications(OAF) ,the date format is appearing in "mm/dd/yyyy" format but when i login to Forms based applications ,I see the date format as "dd-mon-yyyy".What determines this date format ?
    How can i make the date format to always return one format everywhere ,be it Self Service (OAF) or Oracle Forms ?
    I'm getting date format related errors for my code because of default date formats changing intermittently when i log into Self Service.I want to know if there is anyway to prevent this from happening?
    Thanks in advance.

  • Output language of SD documents according to Sales organization

    I have a situation where two companies use same partners. Trouble is that each company needs documents printed in own language. For example company 1 wants English language and company 2 Czech language.
    Communication language of partner is on general data and can be only one. Now the language is set to English which means that for company 1 language is determined correctly. Same partner is open for company 2 but also with English language. If company 2 wants to print documents in different language, they must manually change language in output settings. Because users usually forget to change language, documents are printed in wrong language and they must repeat printing.
    Is it possible with program to overwrite language in output settings ? I have in mind reading a table with fields Sales organization, Customer number, Language. Language would be read from this table and put in output.
    What user-exit to use and what tables, fields to update ?
    Thanks for help,
    Roman J.

    I have two output types - each sales org. has own.
    In condition record for output type I don't have language entered. When output is determined language is taken from customer. And here I have problem - language is ok for one company but not for other. I would like also for other company automatically assign correct language. On customer master data language is common data for all sales organiizations.
    Roman

  • GL Master data : Move GL from one Client to another Client

    have created an one Transport Request for creation of Financial Organization structure in Customizing SAP Client 200 and then i have Manually imported that TR in another SAP Client Master data Client System 050 for GL Master data Language Translation FSP0 or FST2. so, in client 050 i have updated translation for all the GL Accounts roughly 5000 GL Accounts. After that, all GL Accoounts i have sent to Client 200 from Client 050 by using Transaction code - BD18, i have imported all the GL Account along with its Translation in another client of SAP System client 200 in order to move all the Changes along with in the same TR.
    but when i am releasing the TR Transport Request from Cusomizing client 200 to unit testing client 300 , changes related to translaton of GL account has not been moved. Apart from that other changes related to Financial Structure have been moved along with Transport Request
    how can i club these Translation related chnages in this same TR so that i need not to run LSMW in all clients and apply changes in each Clients seperately.
    Thanks
    Jignesh

    Hi
    When you save the data relating to the diffrent language not saves in the request. First check whether that particular request is having the data in different language.  
    OSS Note - 1000586
    - Doing the client copy
    If the texts are present in Client 000 but are missing in an Client different from 000 there are different tools to bring the texts from client 000 into the Client other than 000.
    - RSTLAN_SUPPLEMENT_UNI, described in notes 43853 and 211226
    - Client Maintenance function in SMLT
    - (only valid up to SAP_BASIS 6.10: RSREFILL, described in note 48047)
               Please keep in mind:
    Data in clients other than 000 are treated as customer data. Existing texts will not be overwritten there. (see Note 2857)
    VVR

  • Multi Language Support Setup

    Hi Gurus,
    We have currently upgraded from 11i to R12.1.2 and we have decided to USE MLS & NLS(Multi Language Support) for the very 1st time.We have 4 Languages (American,Spanish,French,Portuguese) so when we query for data in tl tables(apterms_tl,ra_terms_tl,fnd_responsibility_tl) we get four records for a single term_id because we are using 4 languages so we need to keep a language join. What I am doing is
    Select * from ap_terms_tl where agent_id = 5 and language = USERENV('LANG'); which returns only one row with US as the language. Here is a sceneario where I am struck I want to see data in a different language like Spanish or french or Portuguese so how can i achieve that. what i am trying to do is
    ALTER SESSION SET NLS_LANGUAGE = 'BRAZILIAN PORTUGUESE'; and then querying for
    Select * from ap_terms_tl where agent_id = 5 and language = USERENV('LANG'); i get data in Portuguese. How can we achieve this from user level perspective. like when we register a Canadian USER and he wants to see American and vice -verse.
    here are the profile options for NLS & MLS
    PROFILE_NAME USER_NAME
    ICX_DATE_FORMAT_MASK ICX: Date format mask
    ICX_DATE_LANGUAGE ICX: Date language
    ICX_LANGUAGE ICX: Language
    ICX_NLS_SORT ICX: NLS Sort
    ICX_NUMERIC_CHARACTERS ICX: Numeric characters
    ICX_TERRITORY ICX: Territory
    I tried setting up these profile Options but didn't work. I am struck Here(like where to set these profile options to make the MLS work).Let me explain the sceneriao
    Here is what we are trying to achieve When a user from Canada login into Oracle Applications and runs a request set or a concurrent Program he has to see the output in Canadian Language Responsibility this should be done dynamically(changing the Language). You have give me a scenario like changing the preferences and setting the session languages can we dot it dynamically like as soon as the user logs in from Canada his session Language should be set to Canada Language.
    I am just waiting for some help from the gurus.
    Help would be highly appreciated.
    Thanks & Regards
    Krishna
    Edited by: user12156300 on Mar 11, 2010 9:29 AM

    Hi Hussien,
    I able to see the languages in the tables and when i alter the session and I able to see the data in that particular Language.Even i log-in into oracle applications and click on Preferences and change the session Language Other than US i can see the screens in a different Language.Is there anything we can't do dynamically instead of user signing into Oracle Applications and change his session Language.
    Like when the user logs-in from Canada then he can automatically see his country language.
    Thanks & Regards
    Krishna.

  • Load Material Data in the Material Master

    Hi All,
      We have the Material Ledger Active at the Material Level. We are using ECC 6.0 with the highest enhancement pack.
       The requirement is to load the Moving average prices for the Company code currency and Group Currency as a part of
       Material Master Data Migration.
       I am using a the business object BUS1001006's SAVEDATA method (Basic type MATMAS_BAPI03) in a LSMW to achieve
       this.
       This IDOC does not provide me the structure or fields to load the Material Ledger Data. I tried passing the price to the
      MBEW-VERPR however the price is not updated.
       One workaround is to use MR21 however that would be a seperate program which we want to avoid.
       Has anyone done this before. Will greatly appreciate any help/suggestions.
       Thank you for your time.
    Regards,
    Vamsee

    Yes, I am loading from the text file.
    My Zmaterial is defined as InfoObject with text data language dependent.
    Now I want to load this master data through flat file.
    I created FlatFile under source System and then created a DataSource. Under Extraction tab I selected the physical location of my flat file with csv separator and all. Then under proposal I saw preview of my data. Later under Fields tab, For Language I selected 0HTLANG
    For Materialid I selected Zmaterial (defined by me)
    But now there is one more field remaining MAterial Description, across that field what Template InfoObject should I put? Thats my confusion.
    After this I can click on Preview and then load that data in PSA thru infopackage. then later into InfoObject.
    Please inform.
    thnx

Maybe you are looking for

  • PR to PO Tax code

    Hello, I am stuck in conversion issue. User wants to to convert PR to PO automatically and if there is no Info record for material then we need to fix the tax code. Basically we want to avoid putting tax code again if info record does not exist and P

  • Compiler warning PLW-05003 parameter at IN and COPY may have side effects

    For the following Procedure: create or replace PROCEDURE lob_replace p_lob IN OUT NOCOPY CLOB, p_what IN VARCHAR2, p_with IN VARCHAR2 ) AS n NUMBER; BEGIN dbms_output.put_line('p_what = ' || p_what); dbms_output.put_line('p_with = ' || p_with); n :=

  • Why will my license for acrobat no longer work?

    I am installing to my new computer from the original cs4 disks with the correct license that works fine for the rest of the suite and won't work for acrobat! does anyone know why or how to fix? they have told me the activation server is now closed...

  • XI content transport tracks

    Hello Step by step solution  for XI content transport tracks.Expecting  replies soon..

  • How to check for blob corruption

    We had successfully inserted the images into the database blob datatype. But, we found some of the images can't be displayed from the application interface, well others are OK. Is it possisible that the blobs are corrupted, if it is, how to find out