We're taking our site international, .fr, .mx and soon some others.
I was thinking of creating language files like english.inc.php that would have basically a big array of every static text that we use.
For example $lang['welcome'] = 'Welcome';
I would dynamically include the correct language file based on the domain name used, and then use those arrays in the code everywhere we used to have static text.
Is that the right way to go?
Before I go too deep into it, I would appreciate any tips from people who had to this before.
Thanks!
Nathan