跳过导航
Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 13:00 9:00 – 13:00 9:00 – 13:00 8:00 – 12:00 8:00 – 12:00 -
- 14:00 – 17:00 14:00 – 18:00 14:00 – 18:00 13:00 – 17:00 13:00 – 17:00 -

支持者时区: Europe/Zagreb (GMT+02:00)

本主题包含 0 則回覆 ,有 1 嗓音 。

最后由 michaelS-302 10 months, 1 weeks前 更新。

协助者:: Bruno Kos.

作者 文章
25 7 月, 2024 于 6:51 上午 #16001507

michaelS-302

Background of the issue:
I was experiencing an issue with the translation of a radio meta field using 'Manual Input' in Crocoblock. The issue concerns the meta field 'kuenstler_instrument' of the Custom Post Type (CPT) 'kuenstler'. WPML was not translating the field options correctly. While the German version works perfectly, the English version does not translate the field options. I have already contacted the Crocoblock Support regarding this issue. They gave me the following instructions: For multi-optional fields like Radio, Checkbox, and Select, we need to use another approach by creating a glossary: 隐藏链接 Glossaries in our context are simply sets of value + label pairs that can then be used as a source of options for meta fields, form fields, and filters. To use glossaries in custom fields, check out this tutorial: 隐藏链接 We also need the glossaries to translate the meta fields. Follow this step-by-step guide: 1. Here is the glossary - 隐藏链接 Note that you need to format the option values correctly - use only lowercase letters in Latin with no spaces. You can separate words with dashes and underscores. 2. Meta field of the glossary - 隐藏链接 3. Then, proceed to string translation and translate the meta field's label - 隐藏链接 4. Add the translation for the glossary options (only their labels!) - 隐藏链接 Here is the translated meta field 隐藏链接

Symptoms:
The string translation is not working. The languages are mixed up. Some German words are shown in the English column and vice versa.

Questions:
What is the issue with the string translation?
How can I resolve the issue of mixed-up languages in the translation?

主题 '[關閉] translation of a radio meta field' 已关闭,不再接受新回复。