Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

MultiLanguage Support in ADF

689305Mar 5 2009 — edited Mar 10 2009
hai friends,
This is sudhan, i'm working on the internationalisation concept in one of the project,
the project is to be developed on english and hebrew, the language of israel.
i tried out, but there is a problem in the locale, setting in the browser....
can u people help me, and give the locale,and the the language code to be used in the
Resource bundle file....

Thank's in advance.
Sudhan.
This post has been answered by 260010 on Mar 10 2009
Jump to Answer

Comments

504680
Hi Sudhan

This guide's help's you:

[http://download-west.oracle.com/docs/cd/B32110_01/web.1013/b25947/appendixa.htm#BABHDAHA]

[http://download-west.oracle.com/docs/cd/B32110_01/web.1013/b25947/web_laf.htm#CACIBGBA]

Good Luck
See if this how-to helps:
http://www.oracle.com/global/il/support/tip/nlss11061.html
260010
Hello, Sudhan. Although the document nlss11061.html is for ADF 10g, I hope it can be useful. Please, try it and let me know which issues are still opened.
689305
Thank's for ur replies...
I got the solution..
i need another solution, How to make the browser to understand the arabic language.
when i run my application, the text appears as question marks,(?).
Can u help me out.
260010
Is you text coming from Database? Which charset do you use in your JSP(X) file? Question marks normally are not displayed if charset is UTF-8. Which character set do you have in the Database?

Edited by: ygauchma on Mar 7, 2009 12:36 PM
689305
ygauchma, thank's for ur response.
i'm not retriving the text from database, it is just a text from the UI.
I have changed the charset aslo to UTF-8...
Still it is not displaying in arabic, instead it is displaying wit ?? marks..
John Stegeman
User,

Do you have fonts installed on your computer that have the Arabic characters in them?

John
260010
If text comes from UI, is it hardcoded, resource bundled or Java generated? Where did you set UTF-8? Check your current page encoding in the Browser. For IE it is View -> Encoding. What is it?
689305
i have hardcoded in the resource bundle it self....
in jsp page i have changed the charset to UTf-8 in the view tag......
Alexandar
1. Check if your browser encoding (FF/IE) is UTF-8/Unicode.
2. If your resource bundles are .properties files and they aren't created as UTF-8 encoding then:
- open ti with notepad and save it as UTF-8 (use appropriate text editor for nonwindows OS),
- open it again in JDev and see if everything is OK (usually at beginning of file appears some "blank" character - delete it),
- clean your application and start it again.
689305
The Browser is set to Unicode....
I'm using the resourcebunbles as properties file.
wat all should i have to change..
still my problem is not solved..
260010
Answer
If you have ??? on the Browser, the data was corrupted in Java level. Can you convert your properties Arabic files using native2ascii conversion tool from $JDK_HOME/jdk/bin directory. It should convert all Arabic characters to the unicode format like \u...
So, the main idea you should not see any Arabic character in readble format, but in the Unicode one instead of.
Marked as Answer by 689305 · Sep 27 2020
689305
Ya that is correct, now it is working fine,,,,
In the resource bundle file the arabic should be used as unicode's.....
now i can able to see them in the browser.....

Thank you my friends,
Support me through the entire application i'm working...
1 - 13
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Apr 7 2009
Added on Mar 5 2009
13 comments
1,994 views