# |
Oct 3rd 2016, 15:06 |
goldsatish |
when in my websites change URL that time what link |
# |
Oct 3rd 2016, 15:05 |
goldsatish |
sir one last question |
# |
Oct 3rd 2016, 15:05 |
Neon1024 |
slackebot1: <flangofas> just go here: http://book.cakephp.org/3.0/en/core-libraries/internationalization-and-localization.html |
# |
Oct 3rd 2016, 15:05 |
Neon1024 |
CakePHP is RAD but not quite that RAD! |
# |
Oct 3rd 2016, 15:05 |
goldsatish |
by mistake windows is close.. |
# |
Oct 3rd 2016, 15:05 |
Neon1024 |
Stop being lazy. |
# |
Oct 3rd 2016, 15:05 |
Neon1024 |
Just scroll up |
# |
Oct 3rd 2016, 15:05 |
goldsatish |
can you share to me.. |
# |
Oct 3rd 2016, 15:04 |
Neon1024 |
Iâ??m sure the book will have examples, thatâ??s kinda the whole point of it ;) |
# |
Oct 3rd 2016, 15:04 |
Neon1024 |
No, I canâ??t, as I donâ??t do multi-lingual, but I would link to the same docs as those which have already been put in the channel |
# |
Oct 3rd 2016, 15:04 |
goldsatish |
can you give me example.. |
# |
Oct 3rd 2016, 15:04 |
goldsatish |
sir can you tell to me how can do in cakephp3.2 |
# |
Oct 3rd 2016, 15:03 |
Neon1024 |
In most cases, as probably alluded to in the docs, youâ??d actually want example.com/en/home or similar |
# |
Oct 3rd 2016, 15:03 |
Neon1024 |
arabic* |
# |
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 |