Jump to content

multi language


fullyloaded

Recommended Posts

Are you using a db or different files for the different languages?

 

If you are using a db with the text in different language, you could create multiple connection files for the db and then use a session stored variable to connect to the db in the preferred language.

Link to comment
https://forums.phpfreaks.com/topic/52282-multi-language/#findComment-257960
Share on other sites

hi im trying to use this file as of now i don't have anything done  im trying to find the easiest way i can to do this thanks

german language file:

<?php


define('LAN_001','PHP-Multi-SprachcIndex');
define('LAN_002','Willkommen');
define('LAN_003','zu diesem Multisprachphpindex.');
define('LAN_004','Verursacht durch Deano Splamoni');

?>

Link to comment
https://forums.phpfreaks.com/topic/52282-multi-language/#findComment-258429
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.