Skip to Content Skip to Menu

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

where to translate privacy options

  • socialfan
  • socialfan
  • OFFLINE
  • Posts: 262
  • Thanks: 9
  • Karma: -1
11 years 2 months ago #231694 by socialfan
where to translate privacy options was created by socialfan
i cannt find where to translate "public" "users"

etc..

thank you!

PS: any news on CB2.0? :)))

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48474
  • Thanks: 8281
  • Karma: 1443
11 years 2 months ago #231714 by krileon
Replied by krileon on topic where to translate privacy options

i cannt find where to translate "public" "users"

All incubator projects use CBTxt usage. This includes the new CB Privacy. So to translate you need to add the 'STRING' => 'TRANSLATION' usage to your cbteamplugins language file of your CB language plugin.

PS: any news on CB2.0?

Still working on it. Don't expect anything anytime soon though. Our goal is a beta by end of the year hopefully.


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
10 years 11 months ago #237779 by axaler
Replied by axaler on topic where to translate privacy options
I put the string in the file cbteamplugins language to translate all sentences of cbprivacy plugin, but I can not find the php file that contains the CBTxt to translate the information, which remain only in English (see picture).
I found the text corresponding to "Select your profile privacy ...." only in cbprivacy.xml file, but here I do not think you can insert strings for the language. (see the same image)
May I know where can I find or enter the CBtxt to also translate the information?
Thanks

Attachments:
The following user(s) said Thank You: socialfan

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

  • socialfan
  • socialfan
  • OFFLINE
  • Posts: 262
  • Thanks: 9
  • Karma: -1
10 years 11 months ago #237793 by socialfan
Replied by socialfan on topic where to translate privacy options
I think that where we have to put the translation strings to make sure this works for websites with more then one language?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48474
  • Thanks: 8281
  • Karma: 1443
10 years 11 months ago - 10 years 11 months ago #237831 by krileon
Replied by krileon on topic where to translate privacy options
None of CB Privacy strings exist in the core language plugin. This is because it is not a core plugin. Only core language strings belong there. Plugins like CB Privacy you need to edit and find the language strings or try using the awk script to parse for them. You then need to add them to your language plugin.

The info icons are just field descriptions. You can translate and change them like any other field description. As for the text link those are the below language strings (which you need to add).

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?',

All CBTxt usages are translated like the above.


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

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

Moderators: beatnantkrileon
Powered by Kunena Forum