Sinisakrisan (Talk | contribs) (Created page with "==Overview== This tutorial will cover the method of translating every JomSocial Element such are Custom Profile Fields, Groups, Video and Event Categories. In other words,...") |
(→Translating Method) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
==Overview== | ==Overview== | ||
− | 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. | + | 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. |
− | + | ||
− | + | ||
− | + | ||
===Translating Method=== | ===Translating Method=== | ||
− | For this tutorial, we will translate [[Custom | + | 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 [[Translate Toolbar|other tutorial]]<br/> |
Navigate to the site backend and from Components dropdown menu select JomSocial -> Custom Profiles<br/> | Navigate to the site backend and from Components dropdown menu select JomSocial -> Custom Profiles<br/> | ||
− | [[File: | + | |
+ | [[File:custom-profile.jpeg]] | ||
In the page that opens click on the field you want to translate. For this tutorial, we will translate '''Gender''' field | 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 | 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 | ||
Line 18: | Line 15: | ||
Following this schema, we will enter the COM_COMMUNITY_FIELDS_GENDER in '''Name''' field as indicated on the picture bellow | Following this schema, we will enter the COM_COMMUNITY_FIELDS_GENDER in '''Name''' field as indicated on the picture bellow | ||
− | [[File: | + | [[File:profile-edit-fields.jpeg]] |
* '''Note''' - we entered the COM_COMMUNITY_FIELDS_GENDER in that field, only it is not fully visible. | * '''Note''' - we entered the COM_COMMUNITY_FIELDS_GENDER in that field, only it is not fully visible. | ||
− | Save the field | + | Save the field. |
− | + | ||
− | COM_COMMUNITY_FIELDS_GENDER | + | Now browse to Backend -> Extensions -> Langauge manager. Click "overrides". |
− | + | ||
− | + | [[File:translate-custom-profile-fields.jpeg]] | |
+ | |||
+ | Choose from dropdown list for which language you want to add new translation and click "New" button. | ||
+ | |||
+ | [[File:Nowe-lang2.png]] | ||
+ | |||
+ | Add COM_COMMUNITY_FIELDS_GENDER to "Language Constant" field and "Our Translation" to "text" field. Click "Save & Close". | ||
+ | |||
+ | [[File:Nowe-lang3.png]] | ||
+ | |||
+ | Your change should be saved and language override list will be displayed: | ||
+ | |||
+ | [[File:Nowe-lang4.png]] | ||
+ | |||
Navigate to the site Front End and you will see your new translation in effect | Navigate to the site Front End and you will see your new translation in effect | ||
Line 32: | Line 42: | ||
===Limitation=== | ===Limitation=== | ||
− | Some limitation applies. You cant translate Multiprofiles | + | Some limitation applies. You cant translate Multiprofiles names and descriptions. Everything else is translatable using this method |
+ | |||
+ | ==See Also== | ||
+ | * [[Translate Toolbar]] | ||
+ | * [[Changing Single Sentence or Word]] |
Latest revision as of 03:54, 20 June 2018
Overview
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.
Translating Method
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
COM_COMMUNITY_FIELDS_ITEMNAME
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.
Limitation
Some limitation applies. You cant translate Multiprofiles names and descriptions. Everything else is translatable using this method