Skip to Content Skip to Menu

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

[SOLVED] Delete/Disable my Account language file

  • axaler
  • axaler
  • OFFLINE
  • Posts: 31
  • Thanks: 7
  • Karma: 2
11 years 4 months ago - 11 years 2 months ago #229859 by axaler
I placed the two fields "privacy_delete_me" and "privacy_disable_me" in a Tab "Account".
The tab can be reached through "Edit your profile", and shows these two lines in English:
My Account Delete: Delete account and user profile.
My Account Disable: Disable account and user profile and related features.

Can you tell me how to translate these two lines of the tab in other languages​​?
Ie: where they are or where to put the language substitution such as:
_UE_DELETE_MY_ACCOUNT_TITLE which corresponds to "Delete My Account"
_UE_DELETE_MY_ACCOUNT_DESCRIPTION which corresponds to "Delete account and user profile".
Thank you for an answer.

Attachments:
Last edit: 11 years 2 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 4 months ago #229903 by krileon
Replied by krileon on topic Delete/Disable my Account language file
The title and description aren't language strings, but you can create language strings for them (need to use old DEFINE language strings) and replace Title and Description with your language strings. The text next to the field title and the confirmation dialog text uses CBTxt method and is translated using the following in your cbteamplugins language files.
Code:
'Disable account and user profile and related features.' => 'Disable account and user profile and related features.', 'Are you sure you want to disable your account?' => 'Are you sure you want to disable your account?', 'Delete account and user profile.' => 'Delete account and user profile.', 'Are you sure you want to delete your account?' => 'Are you sure you want to delete your account?'


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 4 months ago #229916 by axaler
Replied by axaler on topic Delete/Disable my Account language file
I put the language strings into cbteamplugins language files and now the translations are ok.
Is it normal that they were not in the cbteamplugins_language.php?

I also put the old DEFINE strings for title and description.
The title is OK, but the description does not take the language substitution (see image).

Could you please tell me how to have also the description​​ in the different languages of the site?

Thank you for a new answer.

Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 4 months ago - 11 years 4 months ago #229921 by krileon
Replied by krileon on topic Delete/Disable my Account language file
Your description probably has a "p" element surrounding it. Ensure you're viewing source or viewing raw HTML (your WYSIWYG editor should have a button for 1 of these on it) then add your description and it should add without the "p" element surrounding it.


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.
Last edit: 11 years 4 months ago by krileon.

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

  • axaler
  • axaler
  • OFFLINE
  • Posts: 31
  • Thanks: 7
  • Karma: 2
11 years 2 months ago #231703 by axaler
Replied by axaler on topic Delete/Disable my Account language file
I forgot to thank you for the help. It is perfect now. Thanks!
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum