Translating Profile Custom Fields On A Multilingual Site
Setting up a multilingual site would be a problem if the content are not 100% translated. Rest assured that EasySocial allows site administrator to translate any Profile Custom Fields to the desired language.
Configuring Profile Custom Fields
Lets start by selecting a profile on your site. Navigate to Components > EasySocial > Profile Types. Select any available profile type on your site as shown in the following screenshot.
After you have selected the desired profile type, click on the Custom Fields tab which as shown in the following screenshot.
Next, select any custom field on your profile. As for this example, we will use Joomla User Fullname field. Once you have clicked the custom field, you will see the list of configuration displayed on the right. Click on Core tab to see more options.
Under the Core tab, you will find Title and Description fields for this custom field. By default this fields contain the default string constant.
The String Constant can be anything and it is not compulsory to use the same string as the example.
Translating String Constant
Proceed to the Joomla Languages: Overrides page which can be located through Extensions > Language > Overrides. The following screenshot illustrate the section.
Next, choose the desired language for the string constant to be translated into by clicking on Filter selection on the side bar. After that, click on the New button located at the top left to add new string constant.
On the Languages: Edit Override page, enter the string constant from the custom field earlier in the Language Constant field. Then, enter the translated text for the string constant in the Text field. Finally, click on Save button to store the translation. The following screenshot illustrate the section.
Do the same for the custom field description.
You may do a string constant on the custom field placeholder as well.
Once, you have finished translating for this language, you may do the same translation for other languages that are available on your site. Checkout the result on your frontend.