• Resolved NatCornAdmin

    (@natcornadmin)


    Hi

    A great plugin, just what I need to replace a plugin that seems to be abandoned.

    Would it be possible to add a feature that would enable me to add the ordinals to the number of years so that it reads “…it is in its 17th years”?

    Many thanks

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi @natcornadmin,

    In English, we can use 4 suffixes st, nd, rd, and th to cover all numbers, so we can easily solve this with just a few case scenarios: a case for 1 (1st), 2 (2nd), 3 (3rd), and a case for “everything else” (Nth). However, I don’t believe all languages translate numbers in this way. The questions this raises are:

    1) Would st, nd, rd, and th suffice for all languages?
    2) If so, are these suffixes used for the exact same numbers in the sequence?
    3) Are there any other suffixes to deal with?
    4) Are there any cases where prefixes are used instead?

    Something that sounds great for one site may make little or no sense on another, particularly when language is involved. Of course, the functionality you’re requesting certainly could be implemented on your own site, but I don’t believe it would be a prudent addition for the public version of the plugin. Apologies…and thanks for taking the time to evaluate the plugin and make contact.

    John

Viewing 1 replies (of 1 total)
  • The topic ‘Adding ordinals to the years’ is closed to new replies.