Translate your website into different languages

Well,
i wanted to have my website available in different languages.
(Eg. mandarin, french, japanese, german...).
I heard that there is coding sample available on the internet that show you a sample of how to code out the translating tool, to be used. Or did anyone of you here knows the way?
Axile

Hi Robert,
I have property files Inter.properties,Inter_en.properties in WEB-INF/classes .
In web.xml :
<context-param>
<param-name>
javax.servlet.jsp.jstl.fmt.LocalizationContext
</param-name>
<param-value>
Inter
</param-value>
</context-param>
Test.jsp:
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
<fmt:setBundle basename="Inter" var="Inter" scope="session"/>
When I try to execute the jsp file I receive the following message:
type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: An error occurred while evaluating custom action attribute "bundle" with value "Inter": Attempt to convert String "Inter" to type "javax.servlet.jsp.jstl.fmt.LocalizationContext", but there is no PropertyEditor for that type
What is wrong with my settings?
I think that in web.xml :
<param-value>
Inter
</param-value>
is the problem.
Thanks
Daniel
the proper way is to use tags for this. proceeding:
get you a copy of the JSTL (jsp standard template
library).
define a property file for each language like you do
for any resource bundle, e.g. text.properties,
text_en.properties, text_en_US.properties etc. and put
it to your java class files in the web application
(i.e. WEB-INF/classes or
WEB-INF/lib/your_archive.jar).
define an initialization parameter in web.xml with
param-name
"javax.servlet.jsp.jstl.fmt.localizationContext" and
param-value that points to the properties file
(without the extension)
then use the tag lib in your jsp's and use tag
"message" to return the message texts. you should set
the current user's or session's Locale. this is an
example include file that you should statically
include in every jsp:<%@ taglib
uri="/WEB-INF/c.tld" prefix="c" %>
<%@ taglib uri="/WEB-INF/fmt.tld" prefix="fmt" %>
<c:if test="${ ( ! empty user ) && ( ! empty
user.locale ) }">
<fmt:setLocale value="${ user.locale }"/>
</c:if>this snippet assumes there is typically
a bean "user" in the session, which has a property
"locale" that returns a java.util.Locale.
robert

Similar Messages

  • After making a website with muse and launching it with Business Catalyst. My website gives a notice: To change this page, upload your website into the public_html directory. How can i upload my website into the public_html directory?

    Hello,
    I'm using a Mac and made a website with Muse. After making the website i published the site and launched this afterwards with Business Catalyst.
    When i enter my website, i got the notification: To change this page, upload your website into the public_html directory.
    Does anyone know how i can fix this? I'm a complete noob in this subject.
    Thank u for reading

    Could you post a link please?
    BC does not give that message - Would be good to see if it is indeed BC.

  • How can i translate SAP Menu into Vietnamese language?

    how can i translate SAP Menu into Vietnamese language?

    Hello,
    Don't you have the language pack?
    This should not be done by customers manully ...
    And the question is not SCM system specific.
    Maybe you should ask Basis for help ...
    Best Regards,
    Ada

  • URGENT : Converting Smartform  into different languages

    HI ALL,
    Any one has idea about how to convert the smartform to required language,I am trying to convert smartform language Engilsh to Sweden.
    When i logon to Swden language and converting the EN smartform to SV,its not changed ,how to solve this issue.
    Your help is very much appriciated.
    Thanks in advance

    Hi,
    Check this setting in your smart form.
    Global Settings --> Form Attributes --> General Attributes Tab.
    Set radio button 'To All Languages'.
    Now your smart form will be translated automatically to the logon language.
    For example if you want to see your form in korean language, logout SAP once, then login with korean language 'KO'. (field after username and password)
    If you need any specific text in other languages ... you have to create text id in SO10 using different logon languages.
    Regards,
    Ferry Lianto

  • Translate customer name in different languages

    Hi All
    how can I translate the customer name in different languages.
    I tried to look in XD02 with no seccessed
    Please Help
    Thanks in Advance Kobi

    Hi Kobi,
    We cannot translate the customer name in differnt languages.
    if you want to create the customer in differnt languages first you should have the Access to Particular Languages that you are going to use in your Key board.at the time of  loging to the system you suppose to use that particular language after mentioning your user id and password.
    Please reward points if really helpful,
    Thanks and Regards,
    Sateesh.Kandula

  • Is there a way I can type in English but have it translate my words into another language?

    I speak english.  I want to be able to type the English words and have them translated into other languages.  Japanese kanji, katagana, hiragana in my specific case.  I tried using text input, but it just translates a letter at a time making my word a mix in English letters and Katagana characters. 

    seraph6496 wrote:
    I want to be able to type the English words and have them translated into other languages.
    Not now. Maybe in a few years or so. Or maybe never, if you stop to think about it.
    There are several free automatic translators on the web. You can find them by googling it. (Your Dashboard translator uses Systran's.)
    I tried using text input
    I assume you mean you enabled Kotoeri, the Japanese input method. This is for those who wish to type in Japanese. It's not a translating tool.

  • How can i translate a document into another language?

    I am trying to translate a script into Spanish. The document is secured - which is my first problem - and also - i cannot find a way to translate it?! Any and all help would be much appreciated - thanks!

    Hi elyssap
    If document allows you to copy and paste the text then you can use google Translator to translate to another language.
    Refer ; https://translate.google.com/
    ~Mandy

  • Translation of scripts into 'FR' language

    I have a requirement. Iam translationf remit advice script into 'FR' language.
    For this it is using RFFOF_T driver program. Iam running this script through F110 tcode.
    And this job is running in back ground mode.But in the job log is is giving the error as ZFI_REMITADVICE / window CARRYFWD, the element 635 (Carry forward below) is missing.
    ZFIT_REMITADVICE is my layout name.
    Can any one suggest me what to do this for error.
    This element is used in Carry forward window.

    Vinay,
    As it is giving you an error saying that the element is missing, include the element in your form and do not write anything in it,.
    I mean to say , at the end of the form, just include the element. Thats it. The error will be resolved.
    Regards
    Priya

  • Is it possible to translate a website into Arabic RTL in dreamweaver

    Hi im thinking of buying dreamweaver because i want to translate my website template wich is in french language : http://baabelweb.com/dz/
    So my question is if dreamweaver support RTL languages like arabic
    thank you

    You can't use DW to do the actual translation, but the Middle Eastern/North African version of DW appears to have some support for RTL text...
    http://helpx.adobe.com/dreamweaver/using/arabic-hebrew-text.html

  • Robohelp 10 Translating Content(topics) into Multiple Languages (French and many more)

    Hi Every one,
    Do any one know, how to translate whole content(TOC-Topics) into multiple languages with the help of Robohelp 10. Is it possible to translate data to other languages such as French, German, and Spanish.
    Please provide proper solution for the same.
    Thank you.
    Regards,
    Nutan Shinde

    Are you asking if Rh does the transalation for you? If so the answer is no. No help authoring tool does that.
    The translation process is covered in a number of threads on the forum.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • I need to look at a lot of websites in different languages. Google Chrome has a translate button and it's perfect - does Firefox have similar - I can't find it.

    Because of my work I look through a lot of interenational - all round the world in fact, anywhere where English is not the native language. I normally use google chrome for these because of the Translate button which is brilliant. I just can't anything like this on Firefox. Am I missing something?

    Firefox does not have a built-in feature but you can add something similar with the Google Dictionary and Google Translate extension - https://addons.mozilla.org/firefox/addon/google-dictionary-and-google-t

  • Translation -Selection texts in different language

    Hi Experts,
    I need to translate the selection text on my selection screen depending upon the logon language. Currently i am using the selection texts in english lang from the dictionary and i see that they are not getting translated into Spanish or German when i log accordingly into ES or DE language.
    Can someone please help me with this.
    Thanks
    Dany

    Go to T.Code SE63
    Transalation  -> Short Text -> ABAP -> Program Text
    Enter the program name & select source & target language.
    And do the changes.
    For transporting the changes see SAP Note Number 669505 - Transport Requests for Translation.
    Regards,
    Anish Thomas

  • How can i translate hardcoded messages into particular language

    actually i have a requirement that is
    i have one business object *ZZbus2121*
    in that business object i have some hard coded messages...like "hello"
    so i need to change those messages into korean,japanese,chinese simplified and chinese traditional
    please help me if u know the process.......

    Hello,
    Message which is hard coded cannot be translated automatically.
    You can try the code as shown below, but you need the help of a translator or you should know the languages in which you want to give the message or use google translator
    IF SY-LANGU = 'EN'.
      Message in English.
    ELSEIF SY-LANGU = 'ZH'.
      Message in Chinese.
    ELSEIF SY-LANGU = 'KO'.
      Message in Korean.
    ENDIF.
    or
    PARAMETERS : LANGU TYPE LAISO.
    IF LANGU = 'EN'.
      Message in English.
    ELSEIF LANGU = 'ZH'.
      Message in Chinese.
    ELSEIF LANGU = 'KO'.
      Message in Korean.
    ENDIF.
    or else go for SE63 to translate the messages
    Edited by: dnr_varma on Aug 8, 2011 1:28 PM

  • Translate a Menu in different languages

    Hi,
    How can i translate the labels of Menu from english to french dynamically without duplicating the menu?

    Store the labels in a table or in a file, read them at runtime and apply them in a Menu-startup-code using SET_MENU_ITEM_PROPERTY

  • Scripts In Different Languages

    Hi ,
    In One Interview I was Asked that If you want to Print Script in More than How can You Handle ?
    How can you the Language ?
    I thought By Using the use login Language..
    Can Any one expalin it .... ?

    Hi,
    In the Script, we will use Text elements, so the Text elements will appear in the log on language,
    1) You can goto transaction SE63 and translate the scripts into different languages.
    2) In SE63, click Translation -> Long Texts -> Sapscripts -> Forms
    3) Those language you can convert to have already been pre-installed in the system. 
    4) SE63 is the best way to translate since it offers check options. 
    However, it does not mean that it is 100% full proof that everything is correct
    Mark all the helpful answers
    Regards
    Sudheer

Maybe you are looking for

  • How to delete contacts in skype 7.5 for Mac?

    I cannot delete contact on skype for MAC. There are several posts marking this as resolved suggesting the following, none of which works: going to the "All" contact lists and pressing backspace:  absolutelty nothing happens; right-clicking the contac

  • Using buffering option in select query

    Hi All,        Can anybody give me a brief idea on , where we will use the buffering and how we will write it in coding part.Similarly please tell me what will happen if we use  by passing buffering  addition in select query. Please explain  it with

  • How to create routed port in Cisco SF-300 Switch

    I am trying to create routed ports in SF 300 small business 8 port switch. I have 3 different LAN say 192.168.1.0/24, 192.168.2.0/24 and 192.168.3.0/24 I have 3 unmanaged linsys switch where I have connected all these computers. Now what I have to do

  • First time Journal saving Error NW7.5 Sp4

    Hi,      I am using the BPC NW sp4 version and have created a journal template. When I try to save the journal entry, I get the following error "new journal ID: Failed to get next member of range member (UJJ_JRNID - ). " I saw a similar posting earli

  • Trully need help folks......

    import java.awt.*; import java.awt.event.*; import javax.swing.*; class VideoStoreMainFrame extends JFrame      private JButton managerButton, cashierButton, customerButton;      private JLabel note;      public VideoStoreMainFrame()           super(