How to translate custom user class properties

hi, I use xwiki17.10.2,

I add some fields in /bin/view/XWiki/XWikiUsers?editor=class page , and these fields show rightly in User profile page. like

then, I set multi-language to yes in global setting. and i create a new page with title XWikiUsersTranslations with language zh, and add object TranslationDocumentClass:

and add contents:

but it still don’t work. In user profile page, the field i added is still in english( i have added ?language=zh behind the url)

I have work for it for almost two days, help please.How to translate custom user class properties?

Hi @gshtime,

Check this tutorial: https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/Tutorials/TranslationsTutorial/.

Hope it helps,
Alex

yes,i have read the doc for several times.

when i test the translation by add {{display reference=“XWiki.XWikiUsersTranslations”/}} in a tmp page, everything works well, and the chinese translation content shows.

Google ai tell me the delay situation caused by L10N Cache?

what is L10N Cache, can i refresh it by hand?