This project is read-only.

How to configure multi-language for the WebPart

Jun 24, 2013 at 11:46 AM
Hi there,

Could you please document how multi-language for the WebPart can be configured?
Many thanks!

Kind regards,
Jun 25, 2013 at 8:52 AM

It's a ressource file that has to be included in the webpart installer (like that one)
Do you want to translate it? To which language?
I can send you the list of messages to be translated and add your translation to the next version if you want.

Jun 25, 2013 at 11:34 AM
Hi Alexis,

I would do the German Translation.

Can you please tell me how I can choose a language from the current Version of the WebPart e. g. the French one. I haven't found that option in the WebPart yet.

Also, do I need to embed for every language I need, a separat WebPart or can the WebPart decide on the browser configuration which language is to be used?

Jun 25, 2013 at 12:48 PM
Hi Danuel,

The WebPart checks what is the language of the current SharePoint user and uses automatically a translation if available, else it falls back to English.
So there's actually no option in the WebPart to override this behavior.

Here is what would need to be translated (between quotes). That would be very nice if you can send me the translation so other german speaking users can benefit from it as well with the next update.
[lgApply] : "Apply"
[lgCancel] : "Cancel"
[lgConfiguration] : "Configuration"
[lgDomainControllers] : "Active Directory Controller(s)"
[lgEditCancelled] : "Editing has been cancelled!"
[lgPropertiesDefinition] : "User Properties"
[lgSelectUserToEdit] : "Please select an User to Edit"
[lgSelfService] : "Edit current user only"
[lgUserFound] : "User found!"
[lgUserNotFound] : "User not found!"
[lgUserNotSelected] : "Please enter a valid name!"
[lgUserSelection] : "User Selection"
[lgUserUpdated] : "Profile updated! (24h to Sync with SharePoint)"
[lgValidate] : "Select"
[WebPartDescription] : "AD User Editor is a WebPart that allows to edit easily any user profile attribute in Active Directory trough a customizable form. (version 2.1.2)"
[lgClear] : "Clear"
[lgImgConstraints] : " (Max. 2 Mo, Jpeg only, will be resized to 128x128px)"
[lgImgTooLarge] : "Image too large (>2 Mo)"
[lgImgWrongFormat] : "Wrong image format : "
[lgConfigurationNeeded] : "AD User Editor needs to be configured"
And the default form:
[displayName] : "Full Name"
[thumbnailPhoto] : "Photo"
[sn] : "Last Name"
[givenName] : "First Name"
[manager] : "Manager"
[assistant] : "Assistant"
[department] : "Service"
[title] : "Title"
[employeeType] : "Employee Type" {
    [tech] : "Technician"
    [mgr] : "Manager"
    [dir] : "Director"
[telephoneNumber] : "Telephone number"
[otherTelephone] : "Other phone numbers"
[mobile] : "Mobile"
[facsimileTelephoneNumber] : "Fax"
[l] : "Town"
[physicalDeliveryOfficeName] : "Office"
[company] : "Company"
[accountExpires] : "End of contract"
[extensionCustomAttribute1] : "Certifications"
Thanks a lot,

Jun 25, 2013 at 12:56 PM
Precision: only the general messages will be translated automatically (1st list), but not the different labels in the form (2nd list) as it's copied in the WebPart configuration on first setup.

Would you need to use this webpart in a multilingual environnement?
Jul 1, 2013 at 12:07 PM
"AD User Editor WebPart" has been updated and is now translated to German

Thanks a lot for your translation Danuel.