WebCenter Translation from Right To Left (Arabic) doesnt Working

(Doc ID 1447915.1)

Last updated on JUNE 13, 2012

Applies to:

Oracle WebCenter Portal - Version and later
Information in this document applies to any platform.


When trying to perform the page translation from English to Arabic with all
necessary internationalization steps and Resource Bundles being setup
correctly. The Right-> Left is not working, however, English to Arabic translation

Same performed on plain ADF application doesnt reproduce the issue.
Attaching the ADF test case project to the Bug for reference.

Please refer to step by step testcase reproduced with WCP as below:

1. Created a plain new WebCenter portal application.
Added below code to faces-config.xml


2. Created a new class called
"com.kacst.ucm.recruitment.internationalization.KACSTRecruitmentChangeLocale.java" in Application Sources

3. Added "<right-to-left>#{view.locale.language=='ar' ? 'true' :
'false'}</right-to-left>" to trinidad-config.xml

4. Created localePage.jspx and added the following code.

<f:view locale="#{kacstRecruitmentChangeLocale.preferedLocale}">
<af:document id="d1">
<af:form id="f1">
<af:forEach var="LocaleVar"
<af:commandLink id="toggle" text="#{LocaleVar.label}"
rendered="#{view.locale.language==LocaleVar.value ? 'false' : 'true'}"
immediate="true" />


<af:commandButton text=" Dummy Button" id="cb1"/><br/>
<af:outputText value="#{portalBundle['FOOTER.COPYRIGHT']}"/>

5. Add resource budle in the project properties :
Specify the resource bundle path as
in project properties for the application.

6. Add the below in adfc-config.xml




Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms