Skvare / com.skvare.cmsuser

Create CMS user in Bulk using Groups AND Tag assigned to Contacts.
Other
2 stars 5 forks source link

Ability to set user's language based on the contact's preferred language #10

Closed VangelisP closed 12 months ago

VangelisP commented 1 year ago

Hi there!

Based on our needs for a Drupal9 website, I've made an addition on this extension where, on a multilingual environment with multiple user languages, while creating the user creation, we pass also the preferred contact language in Drupal (9+ only for now).

It's not perfect, since the preferred language in CiviCRM comes as a locale (as it should be), while in Drupal, the user language is actually just a language string.

Nevertheless, it does the job that it was intended

Here's a screenshot of the configuration option (not enabled by default) :

image

Thoughts?