phalcon / forum

Phalcon official Forum
https://forum.phalcon.io
Other
366 stars 164 forks source link

I18N support for asian languages. #28

Open ghost opened 10 years ago

ghost commented 10 years ago

now release forum 2.0.0 is not support yet. have you plan for support i18n? many english sentences are duplicated in php controller and volt templates. I also think is better code that way of i18n support clean code. anyway, I already know phalcon official website repository has i18n support code in bootstrap.php thats why I trying apply translate code to forum master branch. but I want know better way for about how to way i18n support of phalcon framework. I'll wait for this discussion.

niden commented 10 years ago

You will find that most frameworks are moving away from their own i18n implementations and reverting to the intl extension.

Here is some information for you.

http://docs.phalconphp.com/en/latest/reference/intl.html

Since i18n covers a lot of areas, what do you have in mind? Translate strings so that your site is multilingual? Transform numbers based on the locale?

niden commented 10 years ago

Another point, most of the forum is English based. i18n cannot control content for sure, only the labels that are available for the site. Is that what you are talking about?

ghost commented 10 years ago

Yes. niden. I have read that reference link intl.html. but, my point is Phalcon forum only labels also needs code based on i18n. because I did finish work for Phalcon forum labels translate to Korean language but maybe I think other asian people also have same problem. if already forum based i18n later this will be more easy job for them. please see the below link.

http://forum.phalconphp.kr/ https://github.com/mrmsk/phalcon-forum-ko/commit/57cc53d5722b25f76cc854768d3f9d426dfcdc6f

zfarhad commented 8 years ago

+1