OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?

Simple membership Component-Modules Support

Go to bottom Favoured: 0

Translate fields in "User Profile"

admin (Admin)
Admin
Posts: 8243
graph
User Offline Click here to see the profile of this user
translate fields in "User Profile" 5 Years, 9 Months ago
Karma: 101  
For translate fields in "User Profile" in SimpleMembership(ordasoft.com/os-simple-membership-joomla-membership-extension), This need for component Real estate manager, vehicle mahager .... When you show together with car or house - car owner profile.
you need:

1. Go to admin->Extensions->Languages->Overrides
{yoiur site}/administrator/index.php?option=com_languages&view=overrides
2. For "Filter" set "administrator"
3. press "New"
4. set checkbox: "For Both Locations"
5 in search add "field value" wich you wish translate as example "Address 1"
6 for field "Search For" -> set: "value"
7 press "search"
8. select label "PLG_USER_SIMPLEMEMBERSHIP_FIELD_ADDRESS1_LABEL"
9 in field "Text", please add your text
10. Press "save"

Regards
Andrew
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8243
graph
User Offline Click here to see the profile of this user
Re:translate fields in "User Profile" 5 Years, 6 Months ago
Karma: 101  
BUT !!!!!

If you create multi language site you will need add your languages to Joomla Language manager

and

From folder
{your site}/administrator/language/en-GB/
en-GB.plg_user_plg_simplemembership_user_profile.ini
en-GB.plg_user_plg_simplemembership_user_profile.sys.ini

You need copy these files, rename "en-GB" to your language.

to {site}/administrator/language/xx-YY/xx-YY.plg_user_plg_simplemembership_user_profile.ini
to {site}/administrator/language/xx-YY/xx-YY.plg_user_plg_simplemembership_user_profile.sys.ini
please replace "xx-YY" to your language, after, the override will start works

Or after copy, please translate constants in these files

Regards
OrdsaSoft team
Logged Logged
The administrator has disabled public write access.
enzo2424 (Visitor)
Posts: 0
graphgraph
User Offline
Re:translate fields in "User Profile" 5 Years, 1 Month ago
Karma: 0  
Hi !

I've just translated to French.

Here's the .ini file !

Hope this helps.
Enzo
File Attachment:
File Name: fr_FR.zip
File Size: 2852
Logged Logged
Last Edit: 2019/03/28 09:22 By .
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8243
graph
User Offline Click here to see the profile of this user
Re:translate fields in "User Profile" 5 Years, 1 Month ago
Karma: 101  
Thank you very much !

Regards
Ordasoft team
Logged Logged
The administrator has disabled public write access.
enzo2424 (Visitor)
Posts: 0
graphgraph
User Offline
Re:translate fields in "User Profile" 5 Years, 1 Month ago
Karma: 0  
Some things went untranslated in the above ini file

Do this : (for French)

in /languages/overrides/fr-FR.override.ini (create file if it doesn't exist) add these lines :

Code:

PLG_USER_SIMPLEMEMBERSHIP_FIELD_TOS_LABEL="Conditions:"
PLG_USER_SIMPLEMEMBERSHIP_SLIDER_LABEL="Profil de l'Utilisateur"
NO_FILE_SELECTED="Aucun fichier séléctionné"
PLG_USER_SIMPLEMEMBERSHIP_FIELD_FILE_DESC="Image associé au compte"
PLG_USER_SIMPLEMEMBERSHIP_FIELD_FILE_LABEL="Image du profil"
PLG_USER_SIMPLEMEMBERSHIP_FIELD_DOB_LABEL="Date de naissance:"
PLG_USER_SIMPLEMEMBERSHIP_OPTION_AGREE="Accepter"
PLG_USER_SIMPLEMEMBERSHIP_FIELD_FAVORITE_BOOK_LABEL="Livre préférée:"
PLG_USER_SIMPLEMEMBERSHIP_FIELD_WEB_SITE_LABEL="Site web:"
PLG_USER_SIMPLEMEMBERSHIP_FIELD_PHONE_LABEL="Téléphone:"
PLG_USER_SIMPLEMEMBERSHIP_FIELD_POSTAL_CODE_LABEL="Code postale:"
PLG_USER_SIMPLEMEMBERSHIP_FIELD_COUNTRY_LABEL="Pays:"
PLG_USER_SIMPLEMEMBERSHIP_FIELD_ADDRESS2_LABEL="Adresse 2:"
PLG_USER_SIMPLEMEMBERSHIP_FIELD_ADDRESS1_LABEL="Adresse 1:"


Voilà !
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8243
graph
User Offline Click here to see the profile of this user
Re:translate fields in "User Profile" 5 Years ago
Karma: 101  

Thank you !
Logged Logged
The administrator has disabled public write access.
Go to top
»