Instead of creating my own multi table, I figured that someone else
had to deal with this before.

I'm working with locale code_b for locale.

Based on visitor's IP address I have the country name/code, eg:

$userCountry = array(
        'NL' => 'The Netherlands'
);

The code_b for NL is 'dut'. The list of ISO_639-1 codes doesn't
mention the country name/code. How do I easily connect language
code_b's with country names/codes? As 1 country can speak multiple
languages. And 1 language can be spoken in multiple countries.


I googled without luck. Does anyone know where I can find an existing
datasource/tutorial about this? Or an existing table I can use.

Would require a lot of time to create this database myself (since
there are many countries and many languages) and I am sure I am not
the first person ever to need this :)


Kana

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to