ebusiness suite 1 jim pang the anatomy of multiple language support mls in oracle ebspdf3607

Upload: veena14

Post on 07-Apr-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    1/32

    The most comprehensive Oracle applications & technology content under one roof

    The most comprehensive Oracle applications & technology content under one roof

    TheAnatomyofMul0pleLanguageSupport(MLS)inOracleEBS

    [email protected]

    [email protected]

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    2/32

    The most comprehensive Oracle applications & technology content under one roof

    Agenda

    Mul9-LanguagePrimer Quiz Input/CharacterMapping/Display Charactersets Unicode/UTF8

    OracleEBSMLS OracleForms OracleReports

    ProjectPlanning LessonsLearnt Q&A

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    3/32

    The most comprehensive Oracle applications & technology content under one roof

    Mul9-LanguagePrimer

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    4/32

    The most comprehensive Oracle applications & technology content under one roof

    Quiz

    Howmanybytesinthedatabaseareneededtoholdthefollowingcharacters?

    AinWesternEuropeancharacterset

    inWesternEuropeancharactersetintypicalJapanesecharactersetAinUnicode

    inUnicodeinUnicodeinUTF8

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    5/32

    The most comprehensive Oracle applications & technology content under one roof

    Answers

    Howmanybytesinthedatabaseareneededtoholdthefollowingcharacters?

    AinWesternEuropeancharacterset=1

    inWesternEuropeancharacterset=1

    intypicalJapanesecharacterset=2AinUnicode=2

    inUnicode=2

    inUnicode=2inUTF8=3

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    6/32

    The most comprehensive Oracle applications & technology content under one roof

    Input->CharacterMapping->Display

    (English)

    Userpressand

    releaseakey

    Send

    1EE

    scancodes

    aDisplayaonscreen

    EnglishLocalelookup=61(singlebyte)Characterlookupfordisplay

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    7/32The most comprehensive Oracle applications & technology content under one roof

    Userpressand

    releaseakeywhile

    inJapaneseinput

    mode

    Send

    1EE

    scancodes

    Displaya

    onscreen

    JapaneseLocalelookup=A4A2(doublebytes)Characterlookupfordisplay

    Input->CharacterMapping->Display

    (Japanese)

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    8/32The most comprehensive Oracle applications & technology content under one roof

    Evolu9onofAsianCharacterSets

    178:JapaninventedJIScharsetwhichincludeJapaneseandChinese

    18x:ChinainventedChinesecharsetbasedonJapaneseJIS 18x:Koreadoesthesame Sincethen,variousderiva9vesofJapanese,Koreanand

    Chinesecharsetsemerges

    Soastherestoftheworld!!

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    9/32The most comprehensive Oracle applications & technology content under one roof

    Examplesofinterna9onalcharsets

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    10/32The most comprehensive Oracle applications & technology content under one roof

    Unicodecomestotherescue

    12:UnicodeConsor9umwasformed Unicodeconsolidatesallexis9ng/commoncharactersetsin

    theworld!!

    Eachcharacterisrepresentedbyexactlytwobytes

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    11/32The most comprehensive Oracle applications & technology content under one roof

    ExampleofUnicodeCharacters

    Unicodefora=61(twobytes)

    Unicodefor=342(twobytes)

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    12/32The most comprehensive Oracle applications & technology content under one roof

    But,UnicodeIsNotGoodEnough

    MajorityofcomputerdataisEnglishorNumberwhichusedtobeonebytepercharacter

    Unicode(twobytespercharacter)willsubstan9allyincreasedatastorage($$)anddecreasespeed($$)

    Unicodeisonlyusedfortransientdataduringprogramexecu9on

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    13/32The most comprehensive Oracle applications & technology content under one roof

    This9me,UTF8comestotherescue

    UTF8isatransforma9on/encodingalgorithmofUnicode UTF8codesspanfromonetosixbytes EnglishandNumbersareencodedbacktosinglebytedata

    (Problemsolved!!)

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    14/32The most comprehensive Oracle applications & technology content under one roof

    ExampleofUTF8Codes

    CharacteraUnicode=61Octet=111UTF8=111UTF8=61(singlebyte)

    CharacterUnicode=E8Octet=1111UTF8=1111111UTF8=C3A8(twobytes)

    CharacterUnicode=342Octet=1111UTF8=111111111UTF8=E38182(threebytes)

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    15/32The most comprehensive Oracle applications & technology content under one roof

    OracleEBSMLS

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    16/32The most comprehensive Oracle applications & technology content under one roof

    OracleMul9-LanguageSupport(NLS/MLS)Setup

    NLS_CHARACTERSET=AL32UTF8(recommendedbyOracleforR12) EnvparameterNLS_LANG=American_America.UTF8(DB9erand

    Applica9on9er)

    Ac9vateselectedlanguagesusingOAMLicenseManager RunadadmintomaintainMLStables RunadpatchtoInstallEBSMLS(Mul9-LanguageSupport)packsfor

    selectedlanguages

    ClientPCWindowslanguage/charactersetcanbetradi9onalorUTF8 Browsercharactersetcanbetradi9onalorUTF8 Charactersettransla9oncanoccuronPC,Browser,Java,Applica9on9er,Oracleu9li9es(sqlplus,sqlldr.;.)

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    17/32The most comprehensive Oracle applications & technology content under one roof

    OracleNLS/MLSTransla9on

    Whentwodatanodeshavemismatchedcharactersengs,Oraclecomponentstranslatesourcedataintotargetcharactersetinten9onally(good!)or

    uninten9onally(datacorrup9on!)

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    18/32The most comprehensive Oracle applications & technology content under one roof

    OracleEBSMul9-LanguageCapability

    DatabaseNLS_CHARACTERSET=AL32UTF8tosupportdatastoreinanylanguage

    EnabledlanguagesinEBSac9vateMLSfunc9onalityintransla9ontables(xxx_TL)

    Thereareabout8,000+xxx_TLtables MLSpacksprovideformsandreportsboilerplatesinselectedlanguages OAFramework(htmlforms)doesthetransla9on XML(BI)Publisherhasitsowncharactertransla9oncapabilitywith

    languagetemplates

    Profileop9ons ICX:Language(OracleForms) ICX:ClientIANAEncoding(HTMLForms) FND:Na9veClientEncoding(Displayreportsoutput)

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    19/32The most comprehensive Oracle applications & technology content under one roof

    ExampleofOracleEBSMLSenabledtables

    fa_addi0ons_basset_id

    asset_number

    asset_type

    tag_number

    asset_category_id

    ..

    fa_addi0ons_tl

    asset_id

    languagesource_lang

    descrip9on

    ..

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    20/32The most comprehensive Oracle applications & technology content under one roof

    EnglishFormcanacceptanycharacter

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    21/32

    The most comprehensive Oracle applications & technology content under one roof

    InstalledJA(Japanese)andZHS(SimplifiedChinese)MLSPacks

    FormdisplaysrecordwhereLanguagevalue=formlanguage Foranyfutureupdatetoassetdescrip9onviaEnglishform,theformwillcon9nue

    toupdateallthreerowsbecauseSource_LangisUS

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    22/32

    The most comprehensive Oracle applications & technology content under one roof

    SwitchtoJapaneseForm

    SwitchtoJapaneseFormsbysengprofileop9onICX:Language; Logoutandloginagaintoac9vate;

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    23/32

    The most comprehensive Oracle applications & technology content under one roof

    JapaneseForm

    BoilerplateandseededdatainJapanese

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    24/32

    The most comprehensive Oracle applications & technology content under one roof

    EnterJapaneseDatainJapaneseForm

    IftheAssetdescrip9onisupdatedviatheJapaneseForm,hereiswhatisstoredinthetables;

    SQL>selectasset_id,language,source_lang,substr(descrip9on,1,20)fromfa_addi9ons_tlwhere

    asset_id=5163883;

    ASSET_IDLANGUAGESOURCE_LANGSUBSTR(DESCRIPTION,1,20)----------------------------------------------------------------

    5163883 JA JA Asset1Englishd5163883 US US Asset1Englishdesc

    5163883 ZHS US Asset1Englishdesc

    ThisrowbecomesonlyupdatableinJapaneseformbecauseSource_LanghasbeenupdatedtoJA

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    25/32

    The most comprehensive Oracle applications & technology content under one roof

    UseEnglishFormtoviewAssetdata

    SwitchtoEnglishformbysengprofileop9on Logoutandlogintoreac9vate UserisseeingtherowwhichisLanguage=US

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    26/32

    The most comprehensive Oracle applications & technology content under one roof

    RunReports

    Regardlessofwhatlanguageyouarein,youcanrunreportinanylanguage

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    27/32

    The most comprehensive Oracle applications & technology content under one roof

    ReportsOutputinJapanese

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    28/32

    The most comprehensive Oracle applications & technology content under one roof

    UseEnglishformtoinputassetdescrip9oninalllanguages

    InEnglishform,usercanclicktheGlobeicononthetaskbar,awindowwillpopuptoallowusertoenterMLSenabled

    fieldsinalllanguages

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    29/32

    The most comprehensive Oracle applications & technology content under one roof

    ProjectPlanning

    Languagerequirement? Legal/Statutory Users

    Dataconversion DatabaseMigra9onAssistantforUnicode(DMU) Datamigra9onscriptsforlegacysystems

    Capacityplanning OverheadsinMLSpacks

    Installa9on Tes9ng

    Infrastructureandclientdesktops Prin9ng Supportability

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    30/32

    The most comprehensive Oracle applications & technology content under one roof

    LessonsLearnt

    HirequalifiedpersoninMLS Verifydatausingdumpcommands CheckyourDRserver,backup,restore,interfacesetc. Doesdatareviewerorapproverspeakthesamelanguage? Engagemul9lingualusersforcentralisedtes9ng Testallcombina9onsofconfigura9ons

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    31/32

    The most comprehensive Oracle applications & technology content under one roof

    Q&A

  • 8/4/2019 Ebusiness Suite 1 Jim Pang the Anatomy of Multiple Language Support Mls in Oracle Ebspdf3607

    32/32

    Appendix

    Usefulsqlcommands Select*fromV$NLS_VALID_VALUESorderbparameter,value; Select*fromV$NLS_PARAMETERSwhereparameter=NLS_CHARACTERSET; Selectdump(columnxx,1016)fromtable;

    Usefulunixcommands odx iconvfUTF-8tISO-2022-JPsource_file Sqlplusadncnvcommand NLS_LANG=American_America.UTF8;exportNLS_LANG

    Oraclesupport(metalink) DocID:Note:333785.1->OracleApplica9on11iInterna9onaliza9onGuide Interna9onaliza9onUpdateNotesforRelease12[ID33320.1] PatchID252422.1 NLSreleasenotes[ID788053.1] Globaliza9onGuideforOracleApplica9onsRelease12[ID33861.1]