Measurements – multiple plural forms
-
In my language, we have different plural forms for measurements of 2-4 and 5+ units. I would like to be able to change servings and then adjust the measurements accordingly. Is there a way to achieve this?
Plus I’d like to ask about the variations array in the code. I noticed it can have different number of parameters but I am not sure how it works and if it would not be the solution to my problem.
'g' => array( 'singular_abbr' => _x('g','Grams Abbreviation (Singular)','cooked'), 'plural_abbr' => _x('g','Grams Abbreviation (Plural)','cooked'), 'singular' => esc_html__('gram','cooked'), 'plural' => esc_html__('grams','cooked'), 'variations' => array( 'g', 'g.', 'gram', 'grams' ), ),
Thank you!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Measurements – multiple plural forms’ is closed to new replies.