I created a small patch (based on the large patch created by tom.vda http://drupal.org/node/591092) that adds automatic language detection.
Please review and provide feedback.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | uc_ogone-automatic_language_detection-1078638-3.patch | 2.44 KB | pieterdc |
| #2 | uc_ogone_dynamic_language_selection.patch | 1.91 KB | alduya |
| uc_ogone_dynamic_language_selection.patch | 1.91 KB | alduya |
Comments
Comment #1
pieterdcI'm just wondering, why did you change 'en' to 'en-us'?
Comment #2
alduya commentedSorry, that was project specific code. Re-uploading a corrected patch.
Comment #3
pieterdcI extended the patch by changing the language setting field into a select box.
Thus clearly showing the available options / languages.
Comment #4
robbertnl commentedUsing #3. I can confirm its working here.
i would suggest changing 'nl' => 'nl_BE', to 'nl' => 'nl_NL',
Comment #5
pieterdcIf Ogone supports 'nl_NL' ?
Which I don't know for sure.
You'd have to test it.
Comment #6
robbertnl commentedI am already using nl_NL, besides it's one of the examples of the Ogone documentation