Language portlet
i use "Set Language portlet" to oracle portal 10.1.4...
How can i replace this portlet with 2 images?
eg i have english and germany flag in my html template (links) and i would like, when i click το this flags , το change the translation page..
You can also build the URL for the new language with this pattern:
<protocol>://<machine>[:<port>]/portal/page/<DAD>/lang-<language>/<page_group>/<page>...
For <language> you use the ISO codes.
Example:
For the page
http://myportal.com/portal/page/portal/home/employees
You can change to English like this:
http://myportal.com/portal/page/portal/lang-en/home/employees
Similar Messages
-
Remove language from 'set language' portlet
Hello
We installed 4 languages with our portal. In one page group I did the translation for 3 of the 4 languages.
Now, if I add the 'set language' portlet to one of the portal pages of that page group, all the 4 languages (not only the 3 of the translations!) were shown.
How can I get the 'set language' portlet only to show the 3 translated languages?
Thanks,
ChrigelHi,
you should use the ConfigTool to edit the UME property ume.admin.wd.locales as described here
[http://help.sap.com/saphelp_nw70/helpdata/EN/45/fff338e19134dde10000000a1553f7/frameset.htm]
Remember to restart the Java AS afterwards.
Regards, Ane -
Multi Language Portlet Customization
Hello ..
Can any one tell me, if we can provide a multilanguage customization using the JPDK, meaning if user1 clicks the Customize link, change the portlet title from "Title" to "Title1" then press Ok, the Portlet title is changed to Title1.
Now If he switched his language to ar -By using Set Language Portlet, and changed the Title to Title2 in arabic language for example,the Portlet title is changed to Title2 -in arabic. But if he comes back to the english language, the Portlet Title return to be Title1. In My opinion for this to happen, we need to save the user customizations in two different files for example: username.dat, username_ar.dat under the same preference path. Every Time Portal renderes the Customize page, it is rendered according to the current user language, and the values of the customization parameters also appears either in eng or arabic according to the current language. Can we do that using JPDK? How can we make profit of the method PortletReference.translateDefaultCustomizations?
Please Advice
AmrHoan - is your question what are the considerations when creating multiligual catalogs? If so, I can tell you that at other clients I have seen them use a single catalog for one or two languages. For the two langugages, such as Spanish/English, you can create a single catalog with both of them. Once you get to more than two languages, the catalog would get unweildy and is therefore not suggested.
-
hello
i managed to use the Set Language Portlet well, however, when i click the set language portlet the following Action is called http://address:7777/orasso/orasso.wwctx_app_language
my client is not happy about opening port 7777, how can we instruct the Portel to use a different port
best regards
Ammar Sajdi
ammanIs it possible you could give us more information such as
- What version of portal are you using
- Are you searching with Oracle Text turned on or off
- What are you searching for (i.e. items, pages etc)
- Are the things you are searching for translated
- Is the page group translated
etc. -
Set language without language portlet
Hello,
I want to force the language to dutch for all of our users, but don't want them to choose this language on the language portlet or to change the language settings in their browsers.
Jerry Silver suggested in Setting language for a group the use of patch 2948019.
This patch installs wwctx_api.set_nls_language
In portal 9.0.4 WWCTX_API.SET_NLS_LANGUAGE is available, but it says:
Note:</b> This API can only be used for portal sessions that
* have been created via SQL*Plus. It is not intended to be used in browser
* sessions for setting the NLS language and territory.
* The Set Language portlet should be used in that case.
Does someone knows a way to force the language to be different from US-English?
Thanks,
TonHi Ton,
this seems to do the trick on our portal (9026):
<ORACLE>
begin
IF upper(portal.wwctx_api.get_http_language) <> 'NL-NL'
THEN
orasso.wwctx_app_language.set_language(
p_http_language => 'nl-nl',
p_nls_language => 'nl',
p_nls_territory => 'THE NETHERLANDS',
p_requested_url => 'http://hostname:7778/pls/portal/PORTAL.wwctx_app_language.set_language?p_http_language=nl-nl&p_nls_language=nl&p_nls_territory=THE NETHERLANDS&p_requested_url=http://hostname:7778/pls/portal/portal.home'
END IF;
exception
when others then htp.p(SQLCODE||':'||SQLERRM);
end;
</ORACLE> -
How can i display my portal with a certain language in the runtime
I am imp[lemeting a portal page
their will be a language choice English - French - Arabic
I want the portal page to be displayed in the Arabic if the user choose Arabic
I want the portal page to be displayed in the French if the user choose French
I want the portal page to be displayed in the Englis if the user choose English
How can i achieve that target
Regards
Mohamed HammedSandeep
How can i "Set Language" Portlet
My portal page contains
many portlets
many items
many subpage links
i want all of this to function with the chosen language
Regards
Mohamed Hammed -
Troubles with Japanese/Korean Language Support
First, I'm using Oracle Portal 3.0.9 - iAS 1.0.2.2. on Windows 2000 I have successfully loaded all the languages. The language portlet displays all available languages. Languages such as spanish, german or french render properly. When I try to render japanese or korean I get a series of ??????????????????? for all text. I've already installed the Windows 2000 language packs and can render other web sites (i.e. www.oracle.com) in those respective languages.
QUESTION: Is there anything more I have to do to properly render the japanese or korean languages?
Thank you,First, I'm using Oracle Portal 3.0.9 - iAS 1.0.2.2. on Windows 2000 I have successfully loaded all the languages. The language portlet displays all available languages. Languages such as spanish, german or french render properly. When I try to render japanese or korean I get a series of ??????????????????? for all text. I've already installed the Windows 2000 language packs and can render other web sites (i.e. www.oracle.com) in those respective languages.
QUESTION: Is there anything more I have to do to properly render the japanese or korean languages?
Thank you, -
Re-post : General Question about Language - Urgent Advice Needed
IS IT POSSIBLE TO AVOID COMPLETELLY THE DISPLAY/USAGE OF ENGLISH IN PORTAL?
WE INSTALLED LANGUAGE SPANISH (langinst.cmd) AND OUR CONTENT AREAS HAVE DEFAULT LANGUAGE "SPANISH"(NO ENGLISH TRANSLATION) .
OUR PAGES/NAVIGATION BARS/STYLES/ETC... WERE CREATED BEING CONNECTED TO THE PORTAL IN SPANISH.
WE DON'T WANT TO SHOW THE "LANGUAGE" PORTLET FOR USERS TO CHANGE BETWEEN SPANISH AND ENGLISH AND WE DON'T WANT THE PORTAL TO DISPLAY IN ENGLISH IF THE BROWSER SETTING IS ENGLISH.
I READ SOMEWERE THAT IT IS NOT POSSIBLE TO "UNINSTALL" A LANGUAGE, THEREFORE I ASSUME WE CANNOT ELIMINATE THE ENGLISH LANGUAGE.
CAN WE CONFIGURE SOMEHOW "SPANISH" AS A DEFAULT AND "UNIQUE"LANGUAGE SO ALWAYS THE PORTAL DISPLAYS IN SPANISH ??
I HAVE INSTALLED LATEST VERSION 3.0.9.
ANY IDEAS/SUGGESTIONS WILL BE MORE THAN WELLCOME!
REGARDS
nullHi Maria,
One way of using Spanish as the default language is to load the following code in your Portal schema:
set def off
/* @Copyright (c) 1999, Oracle Corporation. All rights reserved. */
create or replace procedure home
-- create the synonyms for wwpob_page.show
as
l_pageid number;
l_url varchar2(32767);
function is_language_set
p_http_language in varchar2 default null,
p_nls_language in varchar2 default null,
p_nls_territory in varchar2 default null,
p_requested_url in varchar2
return boolean
is
l_cookie owa_cookie.cookie;
l_language varchar2(100) default null;
begin
begin
begin
l_cookie := owa_cookie.get(wwctx_sso.PERSISTENT_COOKIE);
exception
when others then
l_language := null;
raise wwctx_sso.NOT_HTTP_SESSION_EXCEPTION;
end;
l_language := lower(l_cookie.vals(1));
exception
when others then
l_language := null;
end;
if l_language is null then
wwctx_app_language.set_language
p_http_language => p_http_language,
p_nls_language => p_nls_language,
p_nls_territory => p_nls_territory,
p_requested_url => p_requested_url
return false;
end if;
return true;
end is_language_set;
begin
-- Mobile support
if wwpob_api_mobile.is_mobile_request
then
l_pageid := wwpob_api_mobile.get_defaultmobilepage;
else
l_pageid := wwpob_api_mobile.get_defaultmobilepage;
else
l_pageid := wwpob_api_page.get_defaultpage;
end if;
l_url := wwpob_page_util.get_page_url(p_pageid => l_pageid);
if is_language_set('es', 'e', 'SPAIN', l_url) then
owa_util.redirect_url(l_url);
end if;
exception
when others then
wwerr_api_error_ui.show_html;
end;
show errors procedure home;
This script looks for the language in the NLS_LANGUAGE cookie. It this cookie does not exist then the language defaults to Spanish because of the code is_language_set('es', 'e', 'SPAIN', l_url). Please make sure to delete the NLS_LANGUAGE cookie, if it exists.
Please note that this code will work for 3.0.9. In case you want to implement something similar to this on 3.0.8, the code containing the mobile support has to be removed. You can contact me, should you have any questions. -
PDA shows different language than PC version
Our portal default language is English and to my knowledge we have no other languages enabled.
When we view our portal on Pocket PC with Windows 2003 the portal shows in French.
Also, in the Safari web browser on some Macs running OS X 10.3.2 and 10.3.6 we see a language that we believe is Chinese.
Can anyone tell me where these languages are specified? Are they per user or per platform? We added the language portlet to one page, but English is the only option there.No, not on Windows. ADE 1.7 only looks at the base language of the Windows install to determine which language to display.
-
PORTAL MULTI-LINGUAL AND CHANGE LANGUAGE PROBLEM
I need to implement language change in portal. I can't use the standard Set Language portlet, because my language change mechanism should involve redirection to an other portal page. Is there any API I can use to implement language change behavior? (Example code would be greately appreciated.)
In some cases I need to force the language of some specific portal pages, regardless of the current language setting of the portal. Is there any way to achieve that? I've experience with the default language setting of the page groups, but I've found that the portal ranks this setting below the current language setting of the portal and the "Accept-Language" header of the browser request. I've been thinking of hacks like a servlet filter or an apache mod tricking with the headers (Accept-Language) and cookies (NLS_LANGUAGE) of the browser request, but that's not so clean. So do I have any options to force the language?I think it's this answer comes late for you, but If anyone it's interested, we use (in version 10.1.4) this function:
PORTAL.wwctx_app_language.set_language(p_http_language => 'es-es',
p_nls_language => PORTAL.wwnls_api.SPANISH,
p_nls_territory => PORTAL.wwnls_api.TER_SPAIN,
p_requested_url => url);
Where 'url' is the url you want to come back.
Remember you can call any function/procedure by the url: /portal/pls/porta/squema.name_of_the_proc, where you have to substitute squema and name_of_the_proc by tyhe ones you need to call (don't forget privileges).
Good luck -
Translation to unsupported language
Hi.
We have a suite of Apex applications all written in the primary language of English. We have the requirement to translate some of them into Welsh, which is not a language supported by Oracle. As an experiment I decided to create a translated application using one of the supported languages, so I chose Afrikaans (af) as it is the top of list. I then seeded and exported the translation text and translated some of the terms in the XLIFF. I uploaded and applied it into the application and published.
I ran the application and the translation works great. When I click my button to change the langauge I see my translated elements correctly. However apart from the translated elements I see no other evidence that I am in Afrikaans. I wondered if the standard error messages were translated so I tried inserting an alphabetic value into a numeric field, "Invalid numeric value" was returned, not the Afrikaans equivalent. The editor remains in English.
So my question is apart from providing a set of target languages into which one can translate, what else does the translation supply? Could I just hijack one of these languages for my Welsh or could this cause problems when I open the applications for the users?
Thanks,
MatthewDear Izhekov,
Thank you very much for this post.
I need your more helps.
I do exactly the steps but can not switch between English and the new one using the Set Language portlet.
Did you get this problem before? Can you repost in more detail about the step 8:
"Insert one new row in the tables PORTAL.WWNLS_LANGUAGE_TERITORY$ and PORTAL.WWNLS_SYS_LANGUAGE for the new language (INSTALLED and AVAILABLE must be 0)"
I mean the values for TITLE, databaseabbreviation, httpabbreviation... columns of the tables.
Thanks and regards, -
Align portlet in a region right
Hello
You can align items to the right or left in a portal region. How do I do this with portlets? For eg: How do I align the 'set language' portlet to the right in one of my regions?
Regards,
Chrigelhi chrigel,
this does not make sense for portlets because the portlet content is rendered by the portlet code. so you would have to have this functionality within the portlet code or config options. if you add 2 portlets to a region they will always have the same size depending of the HTML frame settings. items are different since their layout is controlled by the portal framework itself. so the portal framework has control over where the items are rendered.
regards,
christian -
I have installed German, Chinese(Simplified) and Chinese(Traditional) languages by running langinst.csh on NT. When I login to the portal and choose the Chinese language using the Set Language Portlet, the Chinese characters all appeared as inverted question mark character. The German language one is ok. Can someone please help me on this?
I'm using 9iAS 1.0.2.2 and 8.1.7 EE.
Regards,
Alex Tanhi,
how did u install the chinese language, where is the
langinst.csh file . i am using windows2000 , ((ias 1.0.2.2 amd
8.1.7 EE). Then how to build portlets for different languages.If
u have any idea then please let me know . My mail id is
[email protected]
thanks
nilotpal -
10G AS Port 7777 Languag eShifting Arabic
Please find the following issues to be addressed.
1, You have portal running on ORACLE AS10G. The Server name (machine name) is http://SUBDOMAIN.DOMAIN.AE. Public(web) URL is htttp://WWW.DOMAIN.AE. When the web user accesses the portal using the domain WWW.DOMAIN.AE, portal pages are served with the url http://SUBDOMAIN.DOMAIN.AE. Your requirement is to access the portal only with URL htttp://WWW.DOMAIN.AE.
Solution:
2, You are using SSO for user authentication. SSO is installed under default port 7777. Application Server is located inside DMZ and controlled by pix firewall. When the SSO port 7777 is blocked, you are not able to login from web. How can you solve this without opening port number 7777 from firewall? Can you make SSO listen through default http server port 80? If you can the detail your solutions
Solution:
3, Your portal has English and Arabic language contents. You are using Oracle Set Language portlet for language shifting. Set language portlet is also using port 7777. When port 7777 is blocked, you are unable to do language shifting. This is same like the above mentioned case.
Solution:
Your reference link:
(http://www.domain.ae:7777/pls/orasso/orasso.wwctx_app_language.set_language?p_http_language=ar-eg&p_nls_language=ar&p_nls_territory=EGYPT&p_requested_url=http%3A%2F%2Fwww.domain.ae%2Fpls%2Fportal%2FPORTAL.wwctx_app_language.set_language%3Fp_http_language%3Dar-eg%26p_nls_language%3Dar%26p_nls_territory%3DEGYPT%26p_requested_url%3Dhttp%253A%252F%252Fwww.domain.ae%252Fportal%252Fpage%253F_pageid%253D53%252C908288%2526_dad%253Dportal%2526_schema%253DPORTAL)
Looking forward to hearing from you!
Neumann & Partner
Management & It Consulting
Arndtstrasse 70
44135 Dortmund / Germany
Tel. +49(0)231-9509807
Fax. +49(0)231-9509811
www.neumann-consultants.com
Neumann Consulting International
IT - HR - Finance - New Media
Head Office Europe
Arndtstrasse 70
44135 Dortmund / Germany
Tel.+49-231-9509807
Fax.+49-231-9509811
www.dubainci.com
Neumann Consulting International
IT - HR - Finance - New Media
Head Office Middle East
Dubai Media City
Building No. 8 - 314
Po BOX 502062
Dubai UAE
Tel. 00971-43902211
Fax 00971-43908202
www.dubainci.comHi,
I have a similar problem.
Could you please write down how you solve your problem.
regards,
Mzz -
Survey portlet multilingual settings
Hi,
I would like to know if I can use the Survey portlet with the language portlet.
I want to have the questions, the choices and the welcome message in the survey portlet translated in all of the languages that my portal application supports. So when the user changes the language from the language portlet to display the survey portlet in the corresponding language.
Is it possible to do that?
Does the survey portlet support translations?
ThanksNo, it is not working properly. The survey builder portlet is displayed correctly in any language supported by Portal, but it displays an error message (Page not found, athough the URL is correct) when you try to create a survey or edit an existing one in any language other than English.
Maybe you are looking for
-
Changing address in sales order item level
Dear very good mng i want to know , i am trying to change ship to party address in sales order line item level but showing Gray mode only .. i have maintained Sales document item level ( partners) Removed check box not modifiable And i activated Ite
-
Suggested BPM Composer tutorials anyone?
I am having a bit of an issue with finding the learning tools I need. My office is starting with Oracle Middleware and with all the money such new technology costs, it has been decided to save money on training, that is to say... teach yourself. This
-
Tells us you're experiences with Jdeveloper 11.1.1.4
Hello, im a ubuntu user, and this morning i've installed the new jdeveloper 11.1.1.4. My first concern was to not lost all my svn and db connections, and wls jdbc datasources, after a little research i've found how to the trick. Then the installation
-
Alphanumeric number range of Rebate agreements
Hi, Question on using u2018Alphanumericu2019 number range of Rebate agreements. We would like to use alphanumeric number range for our rebate agreements so that we can build certain logic such as year\customer\type for easy reporting & grouping. For
-
Multiple Document using RFBIBLOO
Hi, Any one please confirm is it possible to post multiple documents or records using RFBIBLOO standard program under one file. Thanks and Regards, Paul.