Skip to Content Skip to Menu

[#3619] CB Query Field Translation

  • nicophp
  • nicophp
  • OFFLINE
  • Posts: 68
  • Thanks: 8
  • Karma: 7
12 years 3 months ago - 12 years 3 months ago #206545 by nicophp
[#3619] CB Query Field Translation was created by nicophp
I'm using Query fields, works fine but result of the query is not translated.
Have tried in language.php and cbteamplugins_language.php without any success.

The query:
SELECT `country_name`
FROM `jos_zones_countries` , `jos_comprofiler`
WHERE `country_iso_code2` = `cb_country`
AND `user_id` = '[user_id]'

Any idea? Thanks
Last edit: 12 years 3 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48536
  • Thanks: 8290
  • Karma: 1445
12 years 3 months ago #206578 by krileon
Replied by krileon on topic Re: CB Query Field Translation
Query results aren't passed through translation.


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.

  • nicophp
  • nicophp
  • OFFLINE
  • Posts: 68
  • Thanks: 8
  • Karma: 7
12 years 3 months ago #206651 by nicophp
Replied by nicophp on topic Re: CB Query Field Translation
Thanks for the answer

It's a pity because it limits a lot the power of CB while developing a multilingual project.

What are the other fields types not passing through translation?
Is it something foreseen for the future?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48536
  • Thanks: 8290
  • Karma: 1445
12 years 3 months ago - 12 years 3 months ago #206676 by krileon
Replied by krileon on topic Re: CB Query Field Translation
It's the only one that doesn't, it's an oversight on my part. Next release will be translating the output if the output is a string.

forge.joomlapolis.com/issues/3619


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: 12 years 3 months ago by krileon.

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

  • nicophp
  • nicophp
  • OFFLINE
  • Posts: 68
  • Thanks: 8
  • Karma: 7
12 years 3 months ago #206820 by nicophp
Replied by nicophp on topic Re: CB Query Field Translation
Perfect, will wait for it. Thanks

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48536
  • Thanks: 8290
  • Karma: 1445
12 years 3 months ago #206823 by krileon
Replied by krileon on topic Re: CB Query Field Translation
Already implemented and uploaded, please download latest. I also added substitution support for single row outputs. So if your select result has a substitution in it then it'll parse 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.

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

Moderators: beatnantkrileon
Powered by Kunena Forum