This tutorial will cover the method of translating every JomSocial Element such are Custom Profile Fields, Groups, Video and Event Categories. In other words, every element that can be found in across JomSocial's configuration.
For this tutorial, we will translate Custom Profile Fields but you can apply same method to video, group and event categories, as well as Toolbar which is covered in other tutorial
Navigate to the site backend and from Components dropdown menu select JomSocial -> Custom Profiles
In the page that opens click on the field you want to translate. For this tutorial, we will translate Gender field
Replace the Name of the field with a language key you want to use. You can use basically any key you want but for the sake of uniformed design we will use this schema
Following this schema, we will enter the COM_COMMUNITY_FIELDS_GENDER in Name field as indicated on the picture bellow
- Note - we entered the COM_COMMUNITY_FIELDS_GENDER in that field, only it is not fully visible.
Save the field.
Now browse to Backend -> Extensions -> Langauge manager. Click "overrides".
Choose from dropdown list for which language you want to add new translation and click "New" button.
Add COM_COMMUNITY_FIELDS_GENDER to "Language Constant" field and "Our Translation" to "text" field. Click "Save & Close".
Your change should be saved and language override list will be displayed:
Navigate to the site Front End and you will see your new translation in effect
using the same method, you can translate the field tooltips, field options, as well as video, group and event categories and descriptions.
Some limitation applies. You cant translate Multiprofiles names and descriptions. Everything else is translatable using this method