Answer the question
In order to leave comments, you need to log in
How to set locale for INTL?
I use this translation, in English everything is ok,
Showing 1-13 of 13 items
when I switch to Burmese, both text and numbers are translated locally, like
ပြသ ၁-၁၃ ၏ ၁၃ ပစ္စည်းများ
and I would like the text to be translated, but the numbers remain normal those. so
ပြသ 1-13 ၏ 13 ပစ္စည်းများ
is there any way to set the locale for numeric values?
Yii::t('yii', 'Showing <b>{begin, number}-{end, number}</b> of <b>{totalCount, number}</b> {totalCount, plural, one{item} other{items}}.', [
'begin' => $begin,
'end' => $end,
'count' => $count,
'totalCount' => $totalCount,
'page' => $page,
'pageCount' => $pageCount,
])
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question