Home / Forums / WoodMart support forum / WPML – Unit of measurement
Home › Forums › WoodMart support forum › WPML – Unit of measurement
WPML – Unit of measurement
- This topic has 3 replies, 2 voices, and was last updated 1 week, 2 days ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
January 6, 2026 at 2:11 pm #703322
edgarskairansParticipantHello,
I’m using WPML with 3 languages and I’ve encountered the following problem:
the “Unit of measurement” field has to be filled in separately for each language, which is very inconvenient. Moreover, when saving products in the translated languages, which are translated from English, bugs often occur.Could you please advise how to make it so that this field is filled in only in the main language, and in the other languages it is automatically translated or synchronized from the main one?
Thank you,
Best RegardsJanuary 7, 2026 at 9:15 am #703415
Aizaz Imtiaz AwanKeymasterHello,
The “Unit of measurement” field in WoodMart, located in the WooCommerce product Inventory tab, is a custom post meta field that WPML treats as translatable by default, requiring separate entry per language. To synchronize it from the main language (English) to translations automatically, configure WPML to copy the field value instead of translating it.
Go to WPML > Settings > Custom Fields Translation.
– Enable “Show system fields” if hidden.
– Search for the WoodMart unit field name (e.g., _woodmart_unit_measurement).
– Set its translation preference to “Copy”.Save changes, then resave main language products and sync translations via WPML > Translation Management to sync values.
Otherwise, if the issue still exists then please share the WP admin login details of your site so I will check and give you a possible solution.
Best Regards.
January 7, 2026 at 12:12 pm #703434
edgarskairansParticipantHello,
Why should the translation preference be set to “Copy”? For example, “pcs.” or other values may be translated differently in each language. Wouldn’t it be better to set it to “Translate” instead?
Thanks,
Best RegardsJanuary 7, 2026 at 1:50 pm #703475
Aizaz Imtiaz AwanKeymasterHello,
WPML’s “Copy” preference synchronizes the field value from the original language to all translations automatically and keeps them in sync on updates, eliminating the need to fill it separately per language. This suits units of measurement like “pcs.” (pieces), “kg”, or “m” that remain identical or functionally equivalent across languages, avoiding duplication and bugs during saves.
“Copy” propagates the exact value (e.g., “kg” stays “kg”) and hides the field in the Translation Editor since no manual input is needed. “Translate” makes it editable per language in the editor, allowing changes like “pcs.” to “pièces” in French, but requires manual entry.
Best Regards.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register