Welcome Guest, Not a member yet? Register   Sign In
Web site with 2 Languages
#1

[eluser]invision[/eluser]
Hi,

I've followed this brilliant Wiki guide on using Multiple Languages with CodeIgniter and can now visit www.site.com/en/ and www.site.com/es/ and get the same page loading. Brilliant Smile

However, I now have some questions which I'd loooove to get an answer for.

1) How do I load a different navigation bar (a simple <div></div>) based on the current language (en/es/etc...) ? So it would load different language nav bar depending on the language the user chooses.

and

2) How do I retrieve different data (different columns) from my database based on the current language?
Would this require just loading a different set of methods from my Model/Controller?


Many thanks for any guidance with this.


Messages In This Thread
Web site with 2 Languages - by El Forum - 02-05-2011, 01:57 PM
Web site with 2 Languages - by El Forum - 02-06-2011, 02:51 AM
Web site with 2 Languages - by El Forum - 02-06-2011, 03:48 AM
Web site with 2 Languages - by El Forum - 02-06-2011, 05:29 AM
Web site with 2 Languages - by El Forum - 02-07-2011, 01:15 AM
Web site with 2 Languages - by El Forum - 02-07-2011, 03:04 AM
Web site with 2 Languages - by El Forum - 03-16-2011, 04:04 AM
Web site with 2 Languages - by El Forum - 03-16-2011, 06:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB