|
Re: Multi-Language support in Forms [message #547148 is a reply to message #547121] |
Wed, 12 March 2008 16:00 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
owais_baba
Messages: 289 Registered: March 2008 Location: MUSCAT
|
Senior Member |
|
|
Did u add language setting?
There are steps to read/write Arabic..
1. Install Arabic fonts in font folder.
2. regedit : NLS_LANG = ARABIC. AR8MSWIN1256
all these settings will sure display Arabic font...
change the Prompt property of an item? This can be done with
set_item_property('<block.item>',PROMPT_TEXT,'<new_prompt>');
If your prompt does not have standard alignment you will have to compensate different string lenghts with properties like
set_item_property('<block.item>',PROMPT_EDGE_OFFSET,'<new_offset>');
Best Regards
|
|
|
Re: Multi-Language support in Forms [message #547149 is a reply to message #547121] |
Wed, 12 March 2008 16:20 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
owais_baba
Messages: 289 Registered: March 2008 Location: MUSCAT
|
Senior Member |
|
|
once we have acomplished this task before but right now we dont have anything. I think u to have created several "text" tables to hold the textual information. Here is the definition of one of the tables
Describing tblpackagetext....
NAME Null? Type
------------------------------- --------- -----
PACKAGEID NOT NULL NUMBER(11,0)
LANGUAGEID NOT NULL NUMBER(2,0)
NAME VARCHAR2(80)
DESCRIPTION VARCHAR2(4000)
COMMENTS VARCHAR2(4000)
QACOMMENTS VARCHAR2(4000)
GUIDELINE VARCHAR2(20)
EDITED NOT NULL NUMBER(1,0)
TIMESTAMP NOT NULL DATE
I think I'm making progress. It seems to return the proper columns (I don't have data yet so I'm not sure if the values are correct). I didn't make use of decode. And I've never used max or decode so please verify that this is correct.
select packageid, Name, NameArabic
from (select max(packageid) AS packageid,
max(case when languageid = 1 then name end) Name,
max(case when languageid = 2 then name end) NameArabic
from tblpackagetext group by packageid)
sql>select * from tblpackagetext;
PACKAGEID LANGUAGEID NAME DESCRIPTION
--------- ---------- -------------------- --------------------
1 1 English Name English Description
1 2 Arabic Name Arabic Description
2 1 Another English More English
sql>select packageid,
2 max(decode(languageid, 1, name, null)) name,
3 max(decode(languageid, 2, name, null)) nameArabic,
4 max(decode(languageid, 1, description, null)) description,
5 max(decode(languageid, 2, description, null)) descriptionArabic
6 from tblpackagetext
7 group by packageid;
PACKAGEID NAME NAMEARABIC
--------- -------------------- ------------------------------
DESCRIPTION DESCRIPTIONARABIC
-------------------- ------------------------------
1 English Name Arabic Name
English Description Arabic Description
2 Another EnglishMore English
Better u try to apply my first suggestion regarding prompt setting it will be more easier for u
best regards
|
|
|
Re: Multi-Language support in Forms [message #547150 is a reply to message #547121] |
Wed, 12 March 2008 16:23 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
owais_baba
Messages: 289 Registered: March 2008 Location: MUSCAT
|
Senior Member |
|
|
Pls Administration of this forum kindly tell me why whatever post submitting reply its not appearing its removing or i dont know whats happening i cant see my post which i relied several time
THANKS & bEST REGARDS
|
|
|
|
|
|
|
|