# |
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 ? |
# |
Oct 3rd 2016, 14:39 |
goldsatish |
hello everyone... |
# |
Oct 3rd 2016, 14:35 |
avi |
Ah! Makes sense. And thanks for the link - thatâ??s helpful! |
# |
Oct 3rd 2016, 14:34 |
admad |
@avi https://github.com/cakephp/cakephp/blob/master/contrib/pre-commit |
# |
Oct 3rd 2016, 14:32 |
admad |
@avi setup a git commit hook |
# |
Oct 3rd 2016, 14:32 |
admad |
writing formatted code should become second nature. You shouldn't have to run phpcbf everytime on your own code |