# |
Oct 3rd 2016, 15:03 |
Neon1024 |
The first problem as well of course is that named params donâ??t exist in Cake 3, so you canâ??t even do /language:arabix |
# |
Oct 3rd 2016, 15:02 |
Neon1024 |
Instead of asking for people to read your link, why donâ??t you read the links youâ??ve been given |
# |
Oct 3rd 2016, 15:02 |
Neon1024 |
goldsatish: Cake 2 and Cake 3 are very different versions of the framework. I wouldnâ??t recommend trying to implement something into Cake 3 using a guide written for Cake 2. Youâ??ll find it very difficult. |
# |
Oct 3rd 2016, 15:00 |
goldsatish |
how can this type in routes files.. please see below link above |
# |
Oct 3rd 2016, 14:59 |
goldsatish |
home/index/language:english |
# |
Oct 3rd 2016, 14:59 |
goldsatish |
home/index/language:arabic |
# |
Oct 3rd 2016, 14:58 |
goldsatish |
can you open and see... |
# |
Oct 3rd 2016, 14:58 |
goldsatish |
http://alvarotrigo.com/blog/implementing-multilanguage-in-cakephp-2-x/ |
# |
Oct 3rd 2016, 14:58 |
goldsatish |
Sir i want like this type for cakephp 3 |
# |
Oct 3rd 2016, 14:58 |
flangofas |
You are welcome. |
# |
Oct 3rd 2016, 14:58 |
goldsatish |
thanks for help.. |
# |
Oct 3rd 2016, 14:57 |
flangofas |
Check here: https://github.com/FriendsOfCake/awesome-cakephp#i18n |
# |
Oct 3rd 2016, 14:57 |
flangofas |
there are i18n plugins for that |
# |
Oct 3rd 2016, 14:57 |
goldsatish |
what change need to change route file |
# |
Oct 3rd 2016, 14:56 |
flangofas |
so in your controller you would do something like this: $this->request->session()->write('Config.language', $language); |
# |
Oct 3rd 2016, 14:55 |
flangofas |
In Cake 3, you can access session object from the request object |
# |
Oct 3rd 2016, 14:49 |
goldsatish |
sir i want like this type for cakephp 3 |
# |
Oct 3rd 2016, 14:49 |
goldsatish |
http://alvarotrigo.com/blog/implementing-multilanguage-in-cakephp-2-x/ |
# |
Oct 3rd 2016, 14:48 |
avi |
Thanks dereuromark! |
# |
Oct 3rd 2016, 14:47 |
goldsatish |
sir can you sent to me any sample code |
# |
Oct 3rd 2016, 14:47 |
dereuromark |
avi: for a project its fine |
# |
Oct 3rd 2016, 14:47 |
goldsatish |
sir there not code for controller and link code.. |
# |
Oct 3rd 2016, 14:46 |
goldsatish |
sir not there... |
# |
Oct 3rd 2016, 14:46 |
flangofas |
just go here: http://book.cakephp.org/3.0/en/core-libraries/internationalization-and-localization.html |
# |
Oct 3rd 2016, 14:46 |
goldsatish |
thanks sir.. |
# |
Oct 3rd 2016, 14:46 |
flangofas |
in Cake 3 book, you can find all this |
# |
Oct 3rd 2016, 14:46 |
flangofas |
OK |
# |
Oct 3rd 2016, 14:45 |
goldsatish |
sir if you know can you sent to me all steps.. or any sample code... |
# |
Oct 3rd 2016, 14:45 |
goldsatish |
how can mange session and redirectr .. there not mentioned in cakephp3 document |
# |
Oct 3rd 2016, 14:44 |
goldsatish |
https://amdmaher.wordpress.com/2014/01/07/multilingual-in-cakephp-2-x-step-by-step/ |
# |
Oct 3rd 2016, 14:44 |
goldsatish |
sir i m looking this type |
# |
Oct 3rd 2016, 14:44 |
avi |
So as a generic rule, `phpunit.xml` and `phpcs.xml` should not be committed to the project, i suppose - or does that depend based on the project and members? |
# |
Oct 3rd 2016, 14:44 |
flangofas |
first you need to understand TranslateBehavior from http://book.cakephp.org/3.0/en/orm/behaviors/translate.html |
# |
Oct 3rd 2016, 14:43 |
goldsatish |
yes sir.. |
# |
Oct 3rd 2016, 14:43 |
flangofas |
Hi goldsatish |
# |
Oct 3rd 2016, 14:42 |
goldsatish |
multilingual in CakePHP 3 step-by-step |
# |
Oct 3rd 2016, 14:41 |
flangofas |
:+1: for the commit hook |
# |
Oct 3rd 2016, 14:41 |
goldsatish |
when i change button English to Arabic... all css,image and content change.. |
# |
Oct 3rd 2016, 14:41 |
flangofas |
@admad Nice. :slightly_smiling_face: |
# |
Oct 3rd 2016, 14:40 |
goldsatish |
i want to make websites English and Arabic |
# |
Oct 3rd 2016, 14:40 |
goldsatish |
can you anyone tell to me how can do cakephp multiple language ? |