custom field data not changed when lang is altered

custom field data not changed when lang is altered

by deva m -
Number of replies: 1

Hi Everyone,

I do have added some custom fields in my moodle,

Moodle has been setup in local server,

EX:

Gender is the custom field added with data (male,female)

when language is changed, its not getting reflected.

how to resolve it ?..

Average of ratings: -
In reply to deva m

Re: custom field data not changed when lang is altered

by Davo Smith -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Custom profile fields do not support translation - they display whatever you type in to all users.

It may be possible to use the Multi-lang filter ( https://docs.moodle.org/en/Multi-language_content_filter ) to embed different languages within the string, but you'd have to experiment to see if that works (I haven't checked to see if the custom fields are passed through filters before they are output).


Average of ratings: Useful (1)