jamesbolt
Forum Replies Created
-
Forum: Plugins
In reply to: [wp-days-ago] Ukrainian TranslationSure, you may credit me as Alexander Avramenko with link to twitter.
Also, I have to say, in Ukrainian and Russian, and I think in some other Cyrillic languages, there are different endings of nouns with different numerals.
For example, in English there are 2 types of endings (for singluar and plural).
So, you say or write ??1 second minute hour day week month year ago 2 seconds minutes hours days weeks months years ago 3 seconds minutes hours days weeks months years ago 4 seconds minutes hours days weeks months years ago 5 seconds minutes hours days weeks months years ago ... 13 seconds minutes hours days weeks months years ago ... 20 seconds minutes hours days weeks months years ago and so on.
In Ukrainian, we have 3 types of endings. (Info is below).
So, we say or write.1 день тиждень м?сяць 2 дн? тижн? м?сяц? 3 дн? тижн? м?сяц? 4 дн? тижн? м?сяц? 5 дн?в тижн?в м?сяц?в 6 дн?в тижн?в м?сяц?в 7 дн?в тижн?в м?сяц?в 8 дн?в тижн?в м?сяц?в 9 дн?в тижн?в м?сяц?в 10 дн?в тижн?в м?сяц?в 11 дн?в тижн?в м?сяц?в ... 20 дн?в тижн?в м?сяц?в 21 день тиждень м?сяць 22 дн? тижн? м?сяц? 23 дн? тижн? м?сяц? 24 дн? тижн? м?сяц? 25 дн?в тижн?в м?сяц?в 26 дн?в тижн?в м?сяц?в ... 30 дн?в тижн?в м?сяц?в
So, if the number is one (1) or ends on one (1) AND greater that 20 we have one ending of the word/noun, like in
1 день м?сяць р?к 21 день м?сяць р?к 31 день м?сяць р?к 51 день м?сяць р?к 91 день м?сяць р?к 2141 день м?сяць р?к
if the number is two (2), three (3), four (4) or ends on two (2), three (3), four (4) AND greater that 20 we have another ending of the word/noun, like in
2 дн? 3 дн? 4 дн? 22 дн? 23 дн? 24 дн? 42 дн? 43 дн? 44 дн? 402 дн? 403 дн? 404 дн?
and in all other cases the ending is one (not the word ‘one’, lol), like in
5 ... 9 дн?в 10 дн?в 11 ... 20 дн?в 36 ... 40 дн?в 76 ... 80 дн?в 126 ... 130 дн?в
So, I hope you, someday, upgrade your plugin with this data or info, I don’t really know ??
Basically, you should add only one variables for “the 2nd case” (Take a look on the spreadsheet, you’ll understand what I meant)Here, I’ve made a spreadsheet for you. There are both Ukrainian and Russian
If you have any questions, feel free to ask.
Thanks!