How to provide support for language which java doesnt support (e.g URDU)

Hi,
I need to develop an application which should be using Urdu Language ,since
java doest support URDU (language spoken in India and Pakistan).
what steps should I take ??What to do???
your help is really needed!
Thanks

Hi Abasith,
Good day. As per our project requirment, we need to have 2 versions of Application. One in English & Arabic. Our Idea to implement Arabic is to have a properties file.(Resource bundle). But I cannot see the Arabic letters in property file created using Arabic. So we moved to Word pad & saved the document as Arabic. I am able to reach the properties. But when i use to get the string from there I m getting an exception No resource bundle found for locale.
This is my code.
public class Test1 {
public static void main(String s[]){
ResourceBundle resource_bundle; // The Resource Bundle super class
Locale locale;
locale = new Locale("ar","AR");
System.out.println(locale.getCountry());
try {
resource_bundle = ResourceBundle.getBundle("tryone_"+locale, locale);
//System.out.println( resource_bundle.toString());
System.out.println("Resource Bundle here "+resource_bundle.getKeys().toString());
Enumeration en = resource_bundle.getKeys();
while (en.hasMoreElements()){
     System.out.println("Elements "+en.nextElement().toString());
System.out.println(resource_bundle.getString("Myname"));
System.out.println(resource_bundle.getLocale());
} catch (MissingResourceException mre) {
     mre.printStackTrace(); }
Can u help me how to go about. I am totally new to this Internationalization.
Thanks in Advance
kavitha

Similar Messages

  • How to provide hyperlink for a particular field in ALV

    Hi,
      How to provide hyperlink for a particular field in alv report.
    Regards,
    Ramu.

    Yes you can do that. using the fieldcatalog there is an option for that. give HOT_SPOT = 'X'. for the column you want.
    wa_field-hotspot = 'X'.
    REPORT  ztest_alv.
    TYPE-POOLS:slis.
    DATA:it_fieldcat  TYPE  slis_t_fieldcat_alv,
         wa_field LIKE LINE OF it_fieldcat.
    DATA: BEGIN OF it_likp OCCURS 0,
           vbeln TYPE likp-vbeln,
          END OF it_likp.
    DATA: layout TYPE slis_layout_alv.
    wa_field-fieldname = 'VBELN'.
    wa_field-tabname = 'IT_LIKP'.
    wa_field-hotspot = 'X'.
    wa_field-outputlen = 10.
    wa_field-no_zero = 'X'.
    wa_field-seltext_l = 'Sales'.
    APPEND wa_field TO it_fieldcat.
    SELECT vbeln FROM likp
    UP TO 10 ROWS
    INTO TABLE it_likp.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        i_callback_program      = sy-repid
        is_layout               = layout
        i_callback_user_command = 'USER_COMMAND'
        it_fieldcat             = it_fieldcat
      TABLES
        t_outtab                = it_likp
      EXCEPTIONS
        program_error           = 1.
    *&      Form  user_Command
    *       text
    *      -->UCOMM      text
    *      -->SELFIELD   text
    FORM user_command USING ucomm TYPE sy-ucomm
                        selfield TYPE slis_selfield.
      CASE ucomm.
        WHEN '&IC1'.
          SET PARAMETER ID 'VL'  FIELD selfield-value.
          CALL TRANSACTION 'VL02N' AND SKIP FIRST SCREEN.
      ENDCASE.
    ENDFORM.                    "user_Command

  • How to create a scripting language in java?

    Hello,
    All that I want to do is to create a scripting language in java. I�m familiar with javacc, jsr223 and other things but don�t know how to start. The language syntax is java 5 syntax with some change and I want to generate java source code from small scripts. In fact I don�t know how other languages (like groovy) are created.
    I hope you can show me the required steps.
    Looking forward to hear from you.
    Thanks.

    That's all, huh?
    For a start, generally when I hear "scripting language" I'm thinking interpretter, not a system which creates compiled (or compilable) code.
    I get the impression that what you're talking about is what I'd call a "preprocessor" language, some extra syntax added to java which the preprocessor renders into ordinary java.
    As far as complexity is concerned, much depends on how deeply involved the extra syntax is with the embedded ordinary Java. Does you preprocessor need to understand the java, or is it just embedded as text? How easilly identified are your preprocesor statments? It's a lot easier to do this if preprocessor lines are instantly identifiable from Java code (e.g. start with a #).
    Basically the stages are always the same;
    1) Lexical analysis i.e. picking out words, operators, numbers, quoted strings.
    2) Construct a syntax tree.
    3) Generate code (in this case Java).
    Now, in this case, some of the nodes in the syntax tree may simply be chunks of undigested Java.

  • How to provide formulae for the columns in report based on date column

    Hi,
    How can we provide formulae for the columns in report, where each column is based on another Date Column.
    Can anyone suggest on this.
    Thanks

    Hi Manu,
    I think you a logical column X on which you created another Logical Column Y.
    Now you want 'Y' to be filtered based on Date Column.
    1. If, my assumption is right - You can do your requirement i.e. Filtering the logical col. 'Y' on Reports.
    Else,
    2. See - Your Logical column 'Y' While creating log. column 'Y' make sure you use any expression builder to filter across Date column. (i.e. using any case statements or where clause).
    Else,
    3. Make sure your First Logical column comes from Table by default (i.e. Create the same col. in d/b so it would be your Physic col. )
    Thank you.
    Edited by: GRK on Jan 28, 2013 7:48 AM

  • How to provide credentials for outbound HTTP connection

    Hi all,
    My outbound request requires basic authentication How to provide credentials within xsjs for outbound request.
    My .xshttpdest file has authType=basic:
    host = "host";
    port = 80;
    description = "decription";
    pathPrefix = "/geoserver/";
    authType = basic;
    useProxy = false;
    proxyHost = "proxy";
    proxyPort = 8080;
    timeout = 0;
    Correspondent xsjs class create request:
    var request = new $.net.http.Request($.net.http.GET, "");
    Is any possibility to provide request with credentials?
    Thanks.
    Slava

    You provide credentials by configuring for the HTTP destination via the XSAdmin tool. Directly supplying credentials in the XSJS code itself would not be sure.

  • How to provide a (web)service which delivers a process context?

    Hi folks,
    i have designed a process with Process Composer so far.
    Several tasks read and write data into the process context.
    What i want to do now is providing a (web)service which gets an process instance number as input and delivers the data from the corresponding process context as output.
    Maybe someone can explain me the steps that are needed to implement that?
    TIA
    Michael

    Hi Michael,
    In case you want to have an 'instant view' on the process data context that might be an option.
    Nevertheless I would not recommend doing so / be careful if there is no other possibility. Maybe it makes sense to define specific check points where data could be synchronized. You would benefit of a more clean process model and a reduced number of outgoing web service calls which in fact would also speed up process execution.
    I am somehow curious what you are planning to achieve. Could you elaborate on that?
    Best regards,
    Martin

  • How to provide validation for a particular field of screen

    Hi Experts,
    For my project, I have created a screen. In the screen, we have one field. For this field we have provided F4 help. When the user clicks on the F4 list of values is displayed.
    I have to provide following condition for this field.
    User should only select values from this F4 list only. If the user tries to enter any data which is not contained in the list, system should throw message that 'Invalid data. Select valid values".
    Can you please let me know how I can do so?
    The relevant portion of code is
    CASE save_ok_code.
        WHEN 'EXIT'.
         LEAVE PROGRAM.
        WHEN 'BACK'.
          PERFORM exit.
        WHEN 'CANCEL'.
         LEAVE PROGRAM.
        WHEN 'SAVE'.
          CALL FUNCTION 'MESSAGES_INITIALIZE'.
          PERFORM check_batch CHANGING fl_error.
          IF fl_error IS INITIAL.
            PERFORM save.
            IF sy-subrc EQ 0.
              CLEAR gv_deleted.
              PERFORM update_alv_grid_display.
    ***for message display
              CALL FUNCTION 'MESSAGES_SHOW'.
            ENDIF.
          ELSE.
            CALL FUNCTION 'MESSAGE_STORE'
              EXPORTING
                arbgb  = 'ZEX_MYPROJECT'
                msgty  = 'S'
                txtnr  = '053'
                msgv1  = text-008
              EXCEPTIONS
                OTHERS = 3.
            CHECK sy-subrc = 0.
            CALL FUNCTION 'MESSAGES_SHOW'.
          ENDIF.
        WHEN OTHERS.
          CALL METHOD cl_gui_cfw=>dispatch.
    I am totally new for ABAP. So, please help me out.
    Thanks
    Smith

    Hi,
    Try this.
    Create an internal table and populated it with the values present in the F4 help of the field. Then in AT SELECTION-SCREEN event check the value of the field with the values in the internal table and display the appropriate message.
    Sharin.

  • How to provide F4 for inputfield in ABAP Webdynpro ALV

    Hi Friends,
    I am displaying records in Editable ALV Gridd in webdynpro.
    I need to provide search help(F4) for few fields which are editable.
    Please help me, how I can achieve this functionality in ALV .
    Regards,
    Xavier.p

    hi Xavier.
    to display the data in alv you must have binded it to some context node / attribute rite?.......now to get an input help to the fields you can first make the search help using transaction se11...after making the search help return to the web dynpro component go to the conttext tab.... click on the particular attribut where you want to have the search help....check in the property below...you will find that the " INPUT SEARCH help" is set to automatic ....set it to " dictionary search help".....and below it mention the name of search help you created....save it and activate the component again...the search help will be reflected automatically in the output.
    in case of any further query regarding this kindly reply.
    thanks,
    sahai.s

  • How to provide hyperlink for CSN message in email notification

    Hi,
    I have the following requirement, could anyone provide some ideas/solution on this.
    We integrated Change Notification Service to portal as transaction iView. once the CSN is raised and assigned to resopnsible person, the message will be notified through email. The requirement is in the email notification a hyperlink should be provided so that on clicking on the link it should open the page with respective CSN message.
    Could any one provide solution how to achieve this?
    Thanks in advance.
    Regards,
    Ravi.

    Yes you can do that. using the fieldcatalog there is an option for that. give HOT_SPOT = 'X'. for the column you want.
    wa_field-hotspot = 'X'.
    REPORT  ztest_alv.
    TYPE-POOLS:slis.
    DATA:it_fieldcat  TYPE  slis_t_fieldcat_alv,
         wa_field LIKE LINE OF it_fieldcat.
    DATA: BEGIN OF it_likp OCCURS 0,
           vbeln TYPE likp-vbeln,
          END OF it_likp.
    DATA: layout TYPE slis_layout_alv.
    wa_field-fieldname = 'VBELN'.
    wa_field-tabname = 'IT_LIKP'.
    wa_field-hotspot = 'X'.
    wa_field-outputlen = 10.
    wa_field-no_zero = 'X'.
    wa_field-seltext_l = 'Sales'.
    APPEND wa_field TO it_fieldcat.
    SELECT vbeln FROM likp
    UP TO 10 ROWS
    INTO TABLE it_likp.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        i_callback_program      = sy-repid
        is_layout               = layout
        i_callback_user_command = 'USER_COMMAND'
        it_fieldcat             = it_fieldcat
      TABLES
        t_outtab                = it_likp
      EXCEPTIONS
        program_error           = 1.
    *&      Form  user_Command
    *       text
    *      -->UCOMM      text
    *      -->SELFIELD   text
    FORM user_command USING ucomm TYPE sy-ucomm
                        selfield TYPE slis_selfield.
      CASE ucomm.
        WHEN '&IC1'.
          SET PARAMETER ID 'VL'  FIELD selfield-value.
          CALL TRANSACTION 'VL02N' AND SKIP FIRST SCREEN.
      ENDCASE.
    ENDFORM.                    "user_Command

  • How to use CallableStatement  for StroredProcedure in java?

    I've successfully created storedProcedure for select comment in mysql.but how implement in java code with using of CallableStatement.Pls help me
    Message was edited by:
    SKVenkates

    try this in main:
    try {UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());}
    catch (Exception exc) {System.err.println("Eroare la incarcarea look & feel" + exc);}

  • How to set password for dbxml in java program

    When I calling XmlManager.openContainer() by a XmlContainerConfig object set to XmlContainerConfig.setEncrypted("mypass")
    it always says:
    BDB XML: Database environment not configured for encryption
    but I can not find the way to construct the Environment for the database,
    When I use:
    envcfg = EnvironmentConfig.DEFAULT;
    envcfg.setEncrypted("mypass");
    env = new Environment(new java.io.File("/some/path/"), envcfg);
    it says:
    java.io.FileNotFoundException: No such file or directory
    at com.sleepycat.db.internal.db_javaJNI.DbEnv_open(Native Method)
    at com.sleepycat.db.internal.DbEnv.open(DbEnv.java:317)
    at com.sleepycat.db.EnvironmentConfig.openEnvironment(EnvironmentConfig.java:3886)
    at com.sleepycat.db.Environment.<init>(Environment.java:93)
    at T.init(T.java:169)
    at T.<init>(T.java:35)
    at T.main(T.java:204)

    Hi,
    Please follow Vyacheslav's advice. In addition, make sure that the path to the environment really exists. The Environment() construct will not create the directory structure if it does not exist.
    Also, note that containers cannot be converted to an encrypted format after they have been created. You'll need to dump and re-create them.
    Another remark; you've configured encryption for the environment:
    envcfg.setEncrypted("mypass");Since the container is opened within an XmlManager's underlying environment which is configured for encryption you shouldn't set an encryption password at the container's level:
    XmlContainerConfig.setEncrypted("mypass");http://www.oracle.com/technology/documentation/berkeley-db/xml/java/com/sleepycat/db/DatabaseConfig.html#setEncrypted(java.lang.String)
    The environment wide encryption password will be used to encrypt data in the databases, containers, opened within that environment. Otherwise, if you want to encrypt stores (databases/containers) individually or encrypt just some of them, you'll need to not specify an encryption password at the environment's level and set it only at store's level.
    Regards,
    Andrei

  • How to provide link for the topics of Webhelp in the Context Sensitive Help in RH10 ?

    I am using Robohelp 10 and currently working on Context Sensitive Help in which there is a need to create certain links for the topics that are present in Webhelp. My area of concern is that we can't use map id's since CS Help and Webhelp had already been created and it will be a mess for developers too since they had to relook their code. While generating output we don't give js files to our developers, we just give them folders and css file. Considering all these points,  is there any way to provide a link for a topic of Help in Context Sensitive Help? Anyone, Please Help !

    I'm not clear on what the question is. You seem to want CSH and to not use Map IDs. That leaves other methods to which Willam has already pointed you. Essentially it's Map IDs or URLs. So are you asking if there is a method that does not involve the developers? No as it is they who must create a link of some sort from a screen to a topic.
    You also say you don't give JS files, just folders and CSS. The Rh WebHelp output contains many files and folders and you have to give the whole output or the help will not work properly. Exactly what are you giving them?
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How to get Tcode for table which has a table maintenance done

    Hi Friends,
    I have one issue.
    How to get the specific Tcode again for the table  to which i have used table maintenance .
    I have generated table maintenance for many tables inside my package.
    If i want specific Tcode for that particular table how do i find it...Is there any way to get that
    Thanks in advance.
    Regards
    kishore

    Hi Gautham,
    I am still having problem... If i give Z* it shows all the Tcodes created with Z.
    For that i will click Display object list and get my Tcodes inside my package..
    But that is not my issue...
    I am sorry if i didn get you properly
    But still i didn find any way for that.
    Will give one sample table which is Ztest. Ihave tcode ztest1.
    Now as u said if i give Z* i will get all Z* tcodes ..In TSTCP table if i execute iam getting only the Tcode fields
    lot of Z names(tcodes) are there. In that how will i find which is mine.I am not getting any parameter fied in output and all..
    please help me.
    Regards
    kishore

  • How to add timeout for threads which are running  using ThreadPoolExecutor

    I am trying change my existing functionality with ThreadPoolExecutor. I was unable to achieve fully.
    Here is my issue.
    I was creating multiple threads for independent DB update operations. And was calling join with time value on the each thread, for any reason if the db update hangs so that thread should die.
    Now am trying use a nice ThreadPoolExecutor so that it can run and queue the threads nicely. But how do I create the timeout values for the threads which are in the ThreadPool. For any reason if the thread hangs then timeout will take care of killing the thread. When we use execute method submit the runnable task its not guaranteed that thread will run immediately. So when the executor will execute the submitted task is not know.
    Probably I might be wrong some where.
    Thanks.

    Future task = threadPoolExecutor.submit(...);
    //this will block until it finishes or times out.
    task.get(REQUEST_TIMEOUT, TimeUnit.MILLISECONDS);

  • How i provide document to fm which i upload through fileupload ui

    Hi,
    Here in my application i need to store document in backend dms(Document Mangment System) server.
    I am using fileupload ui for downloading file but i have one problem in that. High i provide document to backend fm ,So further process can possible .
    Please help me in that,
    Regards,
    Gurprit Bhatia
    Edited by: GURPRIT BHATIA on Aug 18, 2008 8:44 AM

    Hi,
    Here in my application i need to store document in backend dms(Document Mangment System) server.
    I am using fileupload ui for downloading file but i have one problem in that. High i provide document to backend fm ,So further process can possible .
    Please help me in that,
    Regards,
    Gurprit Bhatia
    Edited by: GURPRIT BHATIA on Aug 18, 2008 8:44 AM

Maybe you are looking for