+ Start a Discussion
Nagarjuna Reddy.PNagarjuna Reddy.P 

English and client preffered language in vf page

    I want to display a input field text in both English and Arabic language in vf page.
ex:  Account Name/ Account name in Arabic 

Thank you.
Hi Nagaraju,
Mark as best answer, If it resloves !!
you need to design two custom labels , one for english and one for arabic
Visual force Page
<apex:page id="thepage" controller="PageController">
    <apex:form id="theform">
        <apex:commandlink action="{!changeEnglish}" rerender="theform" value="English" />
        <apex:commandlink action="{!changeArabic}" rerender="theform" value="French" />
        <apex:outputpanel rendered="{!!isArabic}"> English words </apex:outputpanel>
        <apex:outputpanel rendered="{!isArabic}"> Arabic words </apex:outputpanel>
Apex Controller
public with sharing class PageController {
    public boolean isArabic {
    public void changeArabic() {
        isArabic = true;
    public void changeEnglish() {
        isArabic = false;
Mark as resloved if it helps :) :)
Bhanu Prakash
visit ForceLearn.com (https://www.forcelearn.com/)