Welcome Guest, Not a member yet? Register   Sign In
Is there anyone full tutorial about multi languange from database
#1

hey dear, i just searching out in google about it but nothing complete explanation about it, how to parse data from database to controller and send it to library languange, just tell multi languange using library and never tell it using database, how can i make it also from database, any one free give tutorial with schema database like this

id, arten, artfren <---

which is arten is artikel with english languange and artfren is artikel with french languange ?

ang here i've been reading from here http://www.sitepoint.com/multi-language-...deigniter/


Thanks
Reply
#2

If you have the time, you could try one of my tutorials (http://avenir.ro/create-cms-using-codeig...deigniter/). Is actually a four parts tutorial. Tell me what you think. Thank you
Reply
Reply
#4

(This post was last modified: 02-09-2015, 08:54 PM by freddy. Edit Reason: wrong name table )

(02-09-2015, 09:45 AM)ivantcholakov Wrote: http://www.apphp.com/tutorials/index.php...n-in-mysql

how to implement it in codeigniter, all i need is how table (id, arten, artfren) when user click flag auto judul also change ?

i feel lost now  Huh
Reply
#5

(This post was last modified: 02-09-2015, 08:54 PM by freddy. Edit Reason: wrong name table )

(02-09-2015, 06:41 AM)Avenirer Wrote: If you have the time, you could try one of my tutorials (http://avenir.ro/create-cms-using-codeig...deigniter/). Is actually a four parts tutorial. Tell me what you think. Thank you


thanks for quick respon bro, but after reading your blog seem like match with my problem, well i try first, but my design table like this

id, arten, artfren when user click flag fren or english artikle also change auto same with the flag ?
Reply
#6

Well... it's pretty simple actually. You first need to do an admin section where you post your articles in different languages. The link that @ivantcholakov sent you to is the best resource regarding the ways you can organize your tables (also recommend the fourth approach). Now, if you've followed my tutorial, you can simply put the flags inside the pages those links having to send to the same page (for example if you have a page at http://example.com/article/testing-the-language, the french flag would send to http://example.com/fr/article/verifier-la-langue, and the romanian flag would have a link to http://example.com/ro/articol/verifica-limba). Now, the controller will receive the language slug and serve the page accordingly. I sure hope I made myself understood. If not, you will unfortunately have to wait for the next episode of my tutorials Tongue
Reply
#7

(This post was last modified: 02-10-2015, 05:41 AM by freddy. Edit Reason: just edit thanks full )

(02-09-2015, 11:55 PM)Avenirer Wrote: Well... it's pretty simple actually. You first need to do an admin section where you post your articles in different languages. The link that @ivantcholakov sent you to is the best resource regarding the ways you can organize your tables (also recommend the fourth approach). Now, if you've followed my tutorial, you can simply put the flags inside the pages those links having to send to the same page (for example if you have a page at http://example.com/article/testing-the-language, the french flag would send to http://example.com/fr/article/verifier-la-langue, and the romanian flag would have a link to http://example.com/ro/articol/verifica-limba). Now, the controller will receive the language slug and serve the page accordingly. I sure hope I made myself understood. If not, you will unfortunately have to wait for the next episode of my tutorials Tongue

well done actually, i just looking for about hours, i found this easy multi languange http://news.nationalgeographic.com/news/...alifornia/

btw can i get the whole source code bro, will be tested it again tomoorrow ?

i just curious that with your tutorial

will be thakfull if you sent it to my email [email protected]


Many thanks
Reply




Theme © iAndrew 2016 - Forum software by © MyBB