[#3619] CB Query Field Translation

11 years 7 months ago - 11 years 7 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

Please Log in to join the conversation.

11 years 7 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 to join the conversation.

11 years 7 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 to join the conversation.

11 years 7 months ago - 11 years 7 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.

Please Log in to join the conversation.

11 years 7 months ago #206820 by nicophp
Replied by nicophp on topic Re: CB Query Field Translation
Perfect, will wait for it. Thanks

Please Log in to join the conversation.

11 years 7 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 to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.232 seconds

Facebook Twitter LinkedIn