• Resolved willroy

    (@willroy)


    I am adding Polish translation and I can see with some already-added translations, the terms have a split box for “Single:” and “Plural:” with the Polish PO displaying “One, Few, Many”.

    I have tried to add new terms like this by adding the _n(‘single’,’plural’,$amount,’domain’) and Loco detects only the singular version for me to translate.

    Any clue?

    https://wordpress.org/plugins/loco-translate/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Tim W

    (@timwhitlock)

    I can’t reproduce an error with your example code.

    The _n function is supported when Loco scans PHP source code. Note that if you sync your translations with a POT file then it won’t be scanning any source code.

    Please provide the steps required to reliably reproduce the error.

    Thread Starter willroy

    (@willroy)

    Ok going over the process again, I was skipping saving the master .POT after running the sync with source code.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding Plural & Single’ is closed to new replies.