Language translation in java

i think u may have seen some site have a facility to translation there language in to other
language.
so what i want here
a component for translating one language to another.
how can i do that can any one help me pl
i want it as a component so that it can be embeded/integrated in to all existing websites
like ASP , JSP
& any applications.
so pl help me & tell me what can i do PL
Thk for your time
Bye
Harsh

Making it so it can be called from different scripting languages is not really possible, you would need to port the code to the different languages or provide the component as some sort of SOAP service.
As for the translation, there are some online services that allow you to translate pieces of text, but they aren't perfect. Single words may work, but whole texts will look pretty much like a child wrote them. Websites that support multiple languages usually have their text in a database for all the languages they support.
Hope that answers at least part of your question.

Similar Messages

  • How can i use JS files in ADF for language translation.

    Hi,
    I have JS for different languages and dn't want to convert them to property files(resource bundle files). How can i use JS files in ADF for language translation.
    Thanks

    Hi ILya Cyclone,
    Thanks alotfor the reply. Can you tell me where should i include this in the jspx page.
    Step 1)
    I have the js file as js/ifl_messages_US.js and i created a resource file as you mentioned: JS_FILE_PATH=js/ifl_messages_US.js
    Step 2)
    Then added the entry in faces-config.xml for the resource file as follow:
    <resource-bundle>
    <base-name>resource_en.properties</base-name>
    <var>resource</var>
    </resource-bundle>
    <locale-config>
    <supported-locale>en</supported-locale>
    </locale-config>
    Step 3) This is my jspx page. In which a table is dynamically created on page load. Can you help me where should i enter the "#{resource.JS_FILE_PATH}"
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:messages id="m1"/>
    <af:resource type="javascript" source="/js/pdfFile.js"/>
    <af:form id="f1">
    <input type="hidden" name="checkRadio" id="checkRadio" value=""/>
    <af:panelGroupLayout id="pgl1" halign="left" layout="vertical">
    <af:image source="/images/BRAND_IMAGE.gif" id="i1"/>
    </af:panelGroupLayout>
    <af:spacer width="10" height="10" id="s1"/>
    <af:table varStatus="rowStat" summary="table"
    value="#{backingBeanScope.DummyBean.collectionModel}"
    rows="#{backingBeanScope.DummyBean.collectionModel.rowCount}"
    rowSelection="none" contentDelivery="immediate" var="row"
    rendered="true" id="t1" styleClass="AFStretchWidth"
    binding="#{backingBeanScope.DummyBean.myTableBinding}"
    columnResizing="disabled">
    <af:column id="c2" headerText="Actions">
    <af:activeOutputText value="#{row.Actions}" id="aot2"/>
    <af:goLink text="#{row.Actions}" id="gl1"
    clientComponent="true" visible="false"/>
    <af:selectBooleanRadio text="" id="sbr1"
    valueChangeListener="#{backingBeanScope.DummyBean.checkselectbox}">
    <af:clientListener method="selectCheckBox" type="click"/>
    </af:selectBooleanRadio>
    </af:column>
    <af:forEach items="#{backingBeanScope.DummyBean.columnNames}" end="#{backingBeanScope.DummyBean.columnSize}"
    var="name" begin="1">
    <af:column sortable="false" sortProperty="#{name}"
    rowHeader="unstyled" headerText="#{name}"
    inlineStyle="width:100px;" id="c1">
    <af:activeOutputText value="#{row[name]}" id="aot1" escape="false">
    </af:activeOutputText>
    <!-- <af:outputFormatted value="#{row[name]}" id="of1"/>-->
    <!--<af:goLink text="goLink 1" id="gl1"
    destination="#{row.bindings.url.inputvalue}"/>-->
    </af:column>
    </af:forEach>
    </af:table>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    Thanks in advance

  • XLF - Language Translations Migrations Problem

    Hi
    We are trying to upload XLF files for language translations using the following command.
    Command is getting executed without any errors and we can see the uploaded translation XLF files from the front end (XML Publisher Administrator/Home/Templates).When we run the report for the languages other than English, Lables are not appearing in the translated language and also the uploaded XLF files have no information of the fields and translated labels.
    It just contains the header section.
    This is happening only when we try to upload XLF file using XLIFLoader and not the same case when we upload the physical XLF file from the front end. (Templates/Upload translations).
    Please help us to resolve the issue ASAP since we can‘t proceed with our migration activities with out
    Translation feature.
    $ java oracle.apps.xdo.oa.util.XLIFFLoader UPLOAD -DB_USERNAME $APPSID -DB_PASSWORD $PWD -JDBC_CONNECTION "$jdbc" -APPS_SHORT_NAME XR2R -FILE_NAME $XR2R_TOP/reports/US/XXFAS341_hr_00.xlf FORCE
    $XR2R_TOP --Custom Top
    Thanks in advance for your support
    Sreedhar Vaka

    Hi poojith,
    thanks for your response,
    how can I use this message pool in my code. I know the message pool has been used for warning messages and can be called in the application as wdcomponentAPI.getmessagemanager.reportWarning (.....)..
    but in my case it is a checkbox group where fields will be fetched from a database dynamically when we run the application
    for (int i = 0; i < abcprp.length; i++) {
              ICheckboxGroupElement theElement =     wdContext.nodeCheckboxGroup().createCheckboxGroupElement();
              strName = abcprp<i>.getName().toString();
                    theElement.setFieldNames(strName);
    wdContext.nodeCheckboxGroup().addElement(theElement);
    I have got more than 50 fields which I will get from the above code..
    can somebody pls explain me in the above scenario hw can we use the translation
    Edited by: RAD on Sep 15, 2010 10:03 AM
    Edited by: RAD on Sep 15, 2010 10:21 AM

  • DEVELOPING A LANGUAGE TRANSLATOR

    Hi Everybody,
    I want to add a language translator web-page to my site. The page will accept text submitted in ANY language and translate it to any language requested by the user. The service is also supposed to include displaying the translated text in that language's FONT .i.e if the text is translated into Egyptian then it should be VISIBLE in Egyptian, not in English.
    I have'nt got the faintest idea how to go about the whole thing. All I can make out is that I would require the local language fonts, a dictionary of the local language- in which the English words have been mapped e.t.c.
    Can anybody help me out on this? URLs containing tutorials on how to develop such translators would be warmly appreciated.
    Thanks in advance.
    I would be grateful if the tutorials/URLs mostly use Java.
    snodx

    snodx:
    Hopefully this will format correctly so you can read it.
    snodx wrote:
    I want to add a language translator web-page to
    page to my site. The page will accept text submitted in
    ANY language and translate it to any language
    requested by the user. I two am looking for such an application(servlet). I am two days into researching the idea presented by the owner of a site I admin. And have found the following to be true. The complexity of such a project is high but if you want to chew bark this is a good place to cut your teeth:
    http://www-4.ibm.com/software/webservers/translationserver/infocenter/mt/sampleServletOnDemand.html
    If you are still on the tit then follow Andy's suggestion:
    "Companies like systran, L&H (their product "web translator") would be good places to look."
    I looked at Systran and there free solutions has a lot to be desired (Free is for me). No offense have friends that work for Systran but the whole "marketing thang" is out of control. Lots of banners especially if you use frames. It doesn't like other applets. Killed my text fader when I tried to place their form code in my header. Anyway...
    Try:
    http://translationwave.com/
    Registers for the site and translate whatever you want. As a matter of fact that is how i got here. For the last hour or so I have been trying their online service and it offers more languages than Systran and without banner ads.
    snodx wrote:
    The service is also supposed to
    include displaying the translated text in that
    language's FONT .i.e if the text is translated into
    Egyptian then it should be VISIBLE in Egyptian, not in
    English.I think this is a given for all the MT solutions I have seen.
    snodx wrote:
    Can anybody help me out on this? URLs containing
    tutorials on how to develop such translators would be
    warmly appreciated.Well I would not call the link to IBM a tutorial so much as a "You can do it like this", but they also included the "Like you want it" and the "Have it your way" versions. Lots of links and references. Got to say IBM has style. How many people buy IBM's cause they are Big Blue? Reminds me of the movie "Crazy People" and the line, "boxy but good". Since Volvo's are round now and days IBM could annex the new slogan.
    Sorry needed the comedy relief.
    I would be grateful if the tutorials/URLs mostly
    use Java.Its all Java...but there are several catchs from what I read. It is necessary to connect your web front end (form) to the servlet[has parameters], then the (IBM) servlet communicates to a Websphere Application Server (WAS don't ask me its an IBM thing. NT was referenced instead of OS/2 as the server OS)blah,blah,blah... uses an active object for translation. Further more once the WAS translates and sends the page back to the browser. The page content is stored in a Lotus Domino Database for speedier delivery on subsequent requests(Cached).
    The translationwave.com site uses a .jsp page and two javascript files (.js) and then communicates to a WebTransServlet...Hum, Hum,,, I think this is where I walked in.
    "I am looking for a basic servlet I can modify and call my own. There are free multi lingual databases available over the web. and L&H has an engine for little to nothing."
    If you were going to do this yourself its going to take a while, just to get all the reference material absorbed and figure a plan of attack: Ie...need hardware or permission to add software to your server, write servlet, do some test and debugging, need a translation engine; thats where L&H comes in, and gotta have those Language A to Language B dictionaries.
    May the forest be behind you and not in the trees,
    Terrence

  • How to Change the default format for differnt language both in java and SQL

    Hello,
    I am using SQL Anywhere in my application.And in my java client application user can log in with their preferred language like English,French,German,Chinese,etc....When even the user log in to the application the data from the database will be displayed with respective to the language.But when i tried to see the dates in Interactive SQL all the dates r in the format of '2008-12-5 16:44:10:673' but say for example for Chinese it will be displayed as '08-12-5 16.44.10' and for some other language it will come in some other format(which is standard format for those language).
    Mean while i am using java client.When ever i am displaying a date it will be with respective to the language using Locale and date format classes.When i am displaying the date for Chinese in GUI it will show the date as '08-12-5 &#19979;&#21320;4:44'. In summary
    1. For Chinese,the default date pattern from SQL Anywhere date base is '08-12-5 16.44.10'
    2. For the same language date using java code is displaying as '08-12-5 &#19979;&#21320;4:44'. and i am getting the time format pattern as 'ah:mm'.I tried to change the display format in regional settings but no change in display.
    Is there any way to make both the time format as same?
    Please help me to solve this issue!!!
    Thanks in Advance!
    Arun

    pon_arun wrote:
    Hello masijade,
    I did as u said but still the date display is not the same......And I'm telling you that it doesn't matter. What "format" the DB likes to display a Date in when it displays it, is completely irrelevant to how you display it in your GUI.
    A Date does not have a format. A String representation of a Date does.
    As long as you use getDate from ResultSet and setDate from PreparedStatement you do not have to worry about this. Those methods will handle dates to and from the DB themselves. You can then use SimpleDateFormat to display the Date anyway you want to.
    Just because you show the Date one way, and the DB shows it another, does not mean that it is not the same date. Don't get hung up on how the String representation of the Date looks.
    Edit: If you simply want to be able to do "Human Comparisons" then look at the SQL TO_CHAR function (for Oracle, for other DBs the function name may vary). And for Java, read the API docs for SimpleDateFormat (as already intimated above).

  • Hi someone, I went to muse theme and browse widgets to find the toolbox 024 of google language translator, i saw the video explaining how to manage the widgets but now where can i found it to include it in my website because the french version of muse don

    Hi someone, I went to muse theme and browse widgets to find the toolbox 024 of google language translator, i saw the video explaining how to manage the widgets but now, where can i found it to include it in my website because the french version of muse don't have several free widgets for people like me who pay every month the application.Thanks

    I'm not aware of a free translator widget.
    I found these...
    Website Translator 
    Translator Widget  $6.99 for the widget
    Adobe Muse TB024 Widget | MuseThemes.com  $69/year Includes everything | I signed up for this and it's been well worth it, they have new themes & widgets every month.

  • Problem in language Translation

    Hi Experts,
    I am having problem in language translation of smart form.
    I have include all text as text element and have done translation in SE63. But when I login in to translated language the output remains in English.
    I have made the translation from English to Chinese in SE63.
    Please suggest why the output does not come into translated language.

    Hi ,
    I have been working on translations for 8 months now. I think i can resolve your issue.
    Remember one thing in mind when you do translations firstly when you go to se 63 and make some changes make sure that you have not opened the smartform in Change mode. If you do so then you will face this sort of probelm. As per your messages i think you have already checked the language in the form
    If not make sure you do it. Now try again in SE63 make changes in what ever langauage you are doing and then "saveactive" .
    One more final thing if anytext in smartform say   &invoivce_no& is blank in smartform then it will not show up in se63 i think you know about this.

  • Compile other languages in a Java program

    Hi all,
    Is it possible to compile and run other programming languages in a java program?
    Thx in advanced!

    I suppose it's possible, using [url http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Runtime.html]Runtime.getRuntime().exec("gcc ... MyProg.c");

  • Language Translations of Adobe Forms

    Hi,
    My question is regarding language translations in Adobe Form. I have translated the adobe form in various languages, now I want to check in how many languages I already translated? Is there any way by which I can check the translations??
    Thanks & Regards
    Rafi

    HI friend,
    Just try this transaction SE63.
    In that There are menu called GOTO and WORKLIST.
    Check the options in those two. I don't have sufficient authorization to check the things. I think it will provide you the required information.
    Please revert back me if you find a solution or if i am wrong. SO that i will try some other option.
    Thanks,
    Sri Hari

  • SMARTFORMS language translations are not stored

    Experts,
    I am trying to translate a SMARTFORM from Language EN to Languages ES, PT & DE.
    After maintaining translations using SE63 when I check the output it is giving the correct output with language translations but after changing the english version again, when I tried to give the output in language ES, PT & DE all my translations are gone. I dont know the reason why it happened, even I have created the transport using the program 'RS_LXE_RECORD_TORDER' as well.
    Again I did the same thing second time i .e. translated the texts in different languages and again changed the form in language EN (base language) and activated it and after this, again I have tried to give the output in languages ES, PT and DE, again the same all my translations are gone and displaying only in English language.
    Kindly give some ideas so that this problem get resolved.
    Thanks,
    Kalikonda.

    Jay,
    Allotted points for your advice, but actually before asking this question I already searched in the forums and found the same program, but I thought that since my language translations are not getting stored, I may be using wrong program for the transport to be generated.
    Thank you very much for your advice and help.
    Kalikonda.

  • How to enable multi-language support in JAVA

    i want to make an application whose language will be URDU but how to enablw urdu or any non-english language characters in java.plz help.i am an SCJP.

    The partial answer is that you use fonts that can display those characters. But you may also have to address how to enter them from the keyboard, how to store them in databases, how to transmit them via HTTP... depending on your actual requirements.
    Start with the "Internationalization" tutorial that is referenced here: http://java.sun.com/docs/books/tutorial/

  • Language Translation in BW3.5

    Hi All,
    We have a requirement to display user interface/reports in Spanish language. We are working on BW 3.5.
    I am trying to set up the translation environment following the link on sdn     http://help.sap.com/saphelp_nw04/helpdata/en/ad/06dcf4c4be11d291c70000e8a5f6e6/frameset.htm
    I have done the setup for Target Language, Translation Client, Translation Graph, Object Types for Translation and Translator Profiles. Next step is to Assign Packages.
    As per the steps given in http://help.sap.com/saphelp_nw04/helpdata/en/ad/06dcf4c4be11d291c70000e8a5f6e6/frameset.htm:
    1. Call up transaction SLWA.
    2. Select your target language under the tab title Target language.
    3. Choose the tab title Packages.
    4. You first need to select the packages that you want to assign to a translator.
    5. You can now see the number of packages you have selected under Selection.
    6. Choose Assign from the application toolbar.
    A dialog box appears containing a list of all the translators that are defined for the target language you have selected.
    However at the sixth step, to assign packages for translation, the only options I see are: Lock, Translate, Package Info and Lock globally. I do not see a 'Assign' button as mentioned in the online help.
    Does anyone have an idea? I am not able to proceed further without assigning packages. Your help is highly appreciated.
    Thanks,
    - Sangeeta

    You have two things to translate:
    * the subject area/presentation layer of BI Server:
    http://oraclebizint.wordpress.com/2007/10/29/oracle-bi-ee-101332-presentation-layer-translation/
    * and the web catalog of BI Presentation Service
    http://gerardnico.com/wiki/dat/obiee/webcat_translation
    You can also find this in the original documentation here:
    http://download.oracle.com/docs/cd/E12096_01/books/AnyInConfig/AnyInConfigLocalize.html#wp1005025
    Success
    Nico

  • Language Translation in Xcelsius based on Infoview language settings

    Hi,
    Could you please tell me how to do language translation in Crystal Xcelsius.
    I built the dashboard using WebI Report in English version.
    The client wants to view the Dashboard in French.
    Also, the client donu2019t want to have 2versions of the dashboard i.e. in English and French.
    Please let me know if there is any issues.
    Thanks

    Hi,
    Thanks for your quick reply.
    Can you please tell me the workarounds that needs to be done here.
    I have a single WebI Report where based on the Infoview preferences setting the report displays either in English or French.
    Let me know how to do the same in Xcelsius Dashboard. In Excel do we have any such function?

  • Language translation in obiee

    hi gurus,
    iam working on language translation in obiee . its not working fine . can anyone provide good reference or guidence for me.
    regards
    cnu

    You have two things to translate:
    * the subject area/presentation layer of BI Server:
    http://oraclebizint.wordpress.com/2007/10/29/oracle-bi-ee-101332-presentation-layer-translation/
    * and the web catalog of BI Presentation Service
    http://gerardnico.com/wiki/dat/obiee/webcat_translation
    You can also find this in the original documentation here:
    http://download.oracle.com/docs/cd/E12096_01/books/AnyInConfig/AnyInConfigLocalize.html#wp1005025
    Success
    Nico

  • Graphics in Language Translation

    Platform: WinXP 64-bit / Adobe CS5 Design Premium
    Hi,
    Is there a preferred method for handling graphics (and leaders/callouts) in InDesign for language translation? And while I'm at it, ditto for content reuse.
    I realize that translation & single-sourcing are two gigantic topics so I'll keep this question basic. In the screenshot I pasted below, the top graphic was done in Illustrator - including the leaders and callouts - and pasted as a whole into InDesign.
    The bottom graphic was placed into InDesign minus the leaders & callouts, which were then added directly in InDesign.
    We are looking into translating our manuals into four or five languages; being new to this, we'd like to know if one method of placing graphics/leaders/callouts is better than the other to facilitate language translation.
    As far as single-sourcing goes, I'm at a loss as to which would work better. If I select a callout that was added in InDesign and view it in the story editor, obviously only that callout shows up. Any callouts are assigned a paragraph style; I've imported docbook & started creating a mapping of paragraph styles to basic xml tags. Ok the more I look at this babble I'm going to nix this part of the question...
    If you've dealt with graphics & callouts in language translations (successfully or not) I would love to hear from you. Thanks!
    Dan

    First off - as usual, Bob is dead right about XP64. InDesign isn't the only relevant application to be known to be wonky on XP64 - most of the the translation memory tools I've used have also been reported to behave in unpredictable ways on XP64. However, when InDesign drops the ball, you can tell - this is not always the case when your Chinese text (that you can't read) is slowly being corrupted by your TM tool.
    Anyways, I am the nerd-of-all-trades in a language service provider, and I'd have to say that the answer to your question would require some serious investigation into your workflow - investigation that, to be completely frank, would only be worthwhile to someone who was going to get paid at the end. First you'd have to ask the question "Are we jobbing the whole deal out to a third party, or are we going to do some of the work in-house?" This has a sheaf of attendant questions ("Are we relying on our language service provider to maintain translation memories for us, or are we going to do it ourselves?" "To what extent do we already have the linguistic expertise in-house?" "To what extent are our layout jockeys going to want to learn to manage this stuff?") and each one of those answers leads to a decision-tree that requires still more answers in order to get to answers.
    I deal with all kinds of files, some built with XML-driven content management in mind, others made by people who learned on Publisher and draw a separate text box for each paragraph. Each kind of document-construction strategy has advantages and drawbacks, and "where are the captions?" is surprisingly deep. You could use the Captions feature in ID - but that kind of in-ID automation has consequences for the translation team, depending on whether they're using a translation tool to process the IDML files, or if they're working directly in ID, or if they're threading stories and running text out in RTF format, or if they're checking out stories with InCopy or etc. etc. etc.
    Big tech-translation firms have the resources to start answering these questions for you, because they want your money.   If you know how far you're going to go w/r/t outsourcing vs. in-house content management, start shopping around and their sales guys will happily promise you all kinds of impossible services. If you want an independent point of view, you actually want someone to sit down with you, closely examine your current monolingual workflow, discuss the linguistic resources you want to bring to bear on it, and then think about how you're doing your captions. Just don't do your images as TIFFs so the poor ol' DTP jockey has to open up 1000 tech diagrams in Photoshop and manually erase the rasterized captions and re-make 'em in Illy or ID; that way you won't rack up unnecessary DTP charges.
    But, with all three paragraphs of disclaimer above, I can say this: You'll most likely (uhh, 80% chance?) be better off if you can keep all of your text in final layout format in a single application. That might be InDesign, or frankly, it might be FrameMaker.

Maybe you are looking for

  • Vendor Master - Bank Key

    Hi Guys, In the vendor master , under the bank details , we have a field called BANK KEY. What is the significance of this field and does it mean the Bank Key of the vendor bank or our house bank? Pls clarify. Thanks, Srikanth.

  • MDX filter multiple attributes with OR

    The question is simple. I need a full list of Product (EnglishProductName, EnglishDescription, Class, Color,...) whose EnglishProductName like '%bike' OR EnglishDescription like '%bike%'. The "bike" has to be a parameter. How can I use MDX to query A

  • Cannot download Firefox only get a necessay permission box asking for a password and cannot get beyond this.

    I needed to restart my computer from scratch (system restore to the beginning) and lost everything including Firefox and am now trying to download again. I keep getting this box click ok and nothing further happens. I tried tools, security, exception

  • Digital Copy isn't working on iTunes for Mac, but it works on my iPhone 4S

    Hello, I bought The Book of Eli on blue ray and burned it to my iTunes for Mac via digital copy. I updated to iTunes 10.5.1 and now it won't play, it just shows a black screen and the minutes meter isn't moving. I synced it to my iPhone 4S and it pla

  • Error 1603 while updating iPhone 4 to iOS 4.2

    I tried to update a new iPhone 4 (shipped with iOS 4.1) to iOS 4.2 and reveived error 1603. After that i was told by iTunes to restore the iPhone, which i did. After the restore iTunes shows this iPhone with iOS 4.2.1 now, what confuses me a bit. Why