[eluser]adamp1[/eluser]
I know there are libraries out there which can pick a chosen language file depending on the browsers language (I wrote one for myself even). But is there a standard way to combine all language related information.
This may seem vague so I will try to explain.
Language files for CI are normally located in files with their language name 'english', 'french' etc. Browsers give their language like 'en', 'en_US' etc. So of course we will need some table to relate en => english. But what also about other things which are connected with a country, their currency etc.
What I am asking is their a standard way to link all this information? There are so many ISO standards out there which say what a country should be called. What currency they use, their default currency symbol.
Now the reason I want this, I want to implement all of this into a library so an e-commence site can offer not only the pages displayed in different languages but also with their relative currency prices and currency symbols using the given setlocale function of php.
Any ideas? Is there a current table holding lots of this data I can use or will I have to create my own?