Skip to Content Skip to Menu

๐ŸŽƒ Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Change and translate the label "Frontend Language" in the registration form.

  • axaler
  • axaler
  • OFFLINE
  • Posts: 31
  • Thanks: 7
  • Karma: 2
11 years 1 month ago #234150 by axaler
I would like to change the label "Frontend Language" in "Language of the site" in the registration form (see image) in all the languages โ€‹โ€‹of the site, but have not found the replacement in the file "default_language.php."
In which language file is located or where can I put it?
Thanks.

Please Log in or Create an account to join the conversation.

  • axaler
  • axaler
  • OFFLINE
  • Posts: 31
  • Thanks: 7
  • Karma: 2
11 years 1 month ago #234151 by axaler
Attachments:

Please Log in or Create an account to join the conversation.

  • axaler
  • axaler
  • OFFLINE
  • Posts: 31
  • Thanks: 7
  • Karma: 2
11 years 1 month ago #234152 by axaler
I also have two other questions

1) A user selects a language in the field "Frontend language" in the registration form. When then does the login and go to "dit profile ", the language selected is not maintained, it appears again "use default ".
How can I do this so that if a user selects a language in the registration form, it is maintained also in edit profile?

2) And when then does the login, it is possible to redirect him to his profile in the language he has selected as Frontend language in the registration form, even if he login with the url of the browser in another language?

Thanks for your answers.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 1 month ago #234160 by krileon

I would like to change the label "Frontend Language" in "Language of the site" in the registration form (see image) in all the languages โ€‹โ€‹of the site, but have not found the replacement in the file "default_language.php."
In which language file is located or where can I put it?

It's pulled and rendered directly from Joomla API. So you need to translate it in Joomlas language strings. Believe it's in Joomlas user language files.

1) A user selects a language in the field "Frontend language" in the registration form. When then does the login and go to "dit profile ", the language selected is not maintained, it appears again "use default ".
How can I do this so that if a user selects a language in the registration form, it is maintained also in edit profile?

Looks like a bug. It should be saving the selection. Have created a bug ticket to investigate for next release.

forge.joomlapolis.com/issues/4254

2) And when then does the login, it is possible to redirect him to his profile in the language he has selected as Frontend language in the registration form, even if he login with the url of the browser in another language?

On login it should be in the language they selected. No redirect is needed. The problem however is it does not appear to be saving the language selected.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • axaler
  • axaler
  • OFFLINE
  • Posts: 31
  • Thanks: 7
  • Karma: 2
11 years 1 month ago #234162 by axaler
Yes, found it in: /language/en-GB/en-GB.com_users.ini
COM_USERS_USER_FIELD_FRONTEND_LANGUAGE_LABEL="Frontend language"
Thanks

Please Log in or Create an account to join the conversation.

  • axaler
  • axaler
  • OFFLINE
  • Posts: 31
  • Thanks: 7
  • Karma: 2
11 years 1 month ago #234163 by axaler
About the language selected through userparams, it seems that it is not maintained only on the first login after registration. If I logout and login again, and change the Frontend language, it is saved.
But the users who log in gets the profile always in the language that is active in the url (using Joomfish language selector module).

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum