Hi every one,
I'm just wondering if some one already translated the messages/yii.php which will translate the core messages (i.e. Validtion, Error,...)
Thanks
Page 1 of 1
Translated messages System Messages!
#2
Posted 14 April 2011 - 03:08 AM
as i know there is no Arabic translation for the core messages (yii.php / zii.php)
these two files are not big, if you found what you need please share it with us so i can verify it and open a new ticket to add the Arabic lang to the framework releases
i am planning nowadays to translate these core messages .. but i really cannot find any resources for Arabic translating that follow the standards.
UPDATE: there is no new tickets needed since Qiang published a project in google code (yiidoc) for this propose .. so if you are interested let me know so we can help others and accomplish this.
these two files are not big, if you found what you need please share it with us so i can verify it and open a new ticket to add the Arabic lang to the framework releases
i am planning nowadays to translate these core messages .. but i really cannot find any resources for Arabic translating that follow the standards.
UPDATE: there is no new tickets needed since Qiang published a project in google code (yiidoc) for this propose .. so if you are interested let me know so we can help others and accomplish this.
#4
Posted 15 April 2011 - 07:28 AM
nice to hear that BlueFire
,
then keep tuned here or check your email frequently because i am now managing to launch a mechanism to translate whole Yii framework.
i really need you and others effort to accomplish this.
then keep tuned here or check your email frequently because i am now managing to launch a mechanism to translate whole Yii framework.
i really need you and others effort to accomplish this.
#6
Posted 10 March 2012 - 09:11 AM
Hello guys, did you finish working on the Arabic yii.php file?
can you please share it with us?
can you please share it with us?
#7
Posted 26 March 2012 - 04:12 AM
حياك الله علاء
لم تكتمل ترجمتة .. وماأدري اذا كان بعض الاخوان اكلمو تعريبة ام لا .. تأخرت كثيرا في اطلاق شروع الترجمة بسبب بعض الضروف التي مررت بها وان شاء الله بحاول اكمل بعض الجزئيات في مشروع التعريب ثم ارفعه اون لاين حتى يشارك الكل في التعريب
اعتذر لكم مرة ثانية
لم تكتمل ترجمتة .. وماأدري اذا كان بعض الاخوان اكلمو تعريبة ام لا .. تأخرت كثيرا في اطلاق شروع الترجمة بسبب بعض الضروف التي مررت بها وان شاء الله بحاول اكمل بعض الجزئيات في مشروع التعريب ثم ارفعه اون لاين حتى يشارك الكل في التعريب
اعتذر لكم مرة ثانية
#8
Posted 09 April 2013 - 09:23 AM
You can translate the error messages by a simple statement
Or you can use
public function rules() {
// NOTE: you should only define rules for those attributes that
// will receive user inputs.
return array(
array('ID', 'numerical', 'integerOnly' => true, 'message' => '{attribute} لا يقبل إلا أرقام'),
[size=2] );[/size]
}
Or you can use
public function rules() {
// NOTE: you should only define rules for those attributes that
// will receive user inputs.
return array(
array('ID', 'numerical', 'integerOnly' => true, 'message' => Yii::app()->t('default', 'errMsgIndex')),
[size=2] );[/size]
}
#9
Posted 09 April 2013 - 11:00 AM
مشاركة جميلة، طبعا هذه طريقة تخصيص نص لرسائل الخطأ في مايخص التحقق من صحة المدخلات من قبل المستخدم في النماذج
Validation rules
اما رسائل الخطأ الافتراضية لنواه Yii فهي بترجمة الملفين yii.php و zii.php
Validation rules
اما رسائل الخطأ الافتراضية لنواه Yii فهي بترجمة الملفين yii.php و zii.php
Share this topic:
Page 1 of 1

Help













