...

Text file src/github.com/go-playground/universal-translator/_examples/file-formats/ordinal.json

Documentation: github.com/go-playground/universal-translator/_examples/file-formats

     1[
     2    {
     3        "locale": "en",
     4        "key": "day",
     5        "trans": "{0}st",
     6        "type": "Ordinal",
     7        "rule": "One"
     8    },
     9    {
    10        "locale": "en",
    11        "key": "day",
    12        "trans": "{0}nd",
    13        "type": "Ordinal",
    14        "rule": "Two"
    15    },
    16    {
    17        "locale": "en",
    18        "key": "day",
    19        "trans": "{0}rd",
    20        "type": "Ordinal",
    21        "rule": "Few"
    22    },
    23    {
    24        "locale": "en",
    25        "key": "day",
    26        "trans": "{0}th",
    27        "type": "Ordinal",
    28        "rule": "Other"
    29    }
    30]

View as plain text