{"id":837,"date":"2020-11-02T15:29:12","date_gmt":"2020-11-02T21:29:12","guid":{"rendered":"https:\/\/asberry.org\/blog_tech\/?p=837"},"modified":"2024-05-14T09:13:25","modified_gmt":"2024-05-14T14:13:25","slug":"tcc-what-templates-are-active","status":"publish","type":"post","link":"https:\/\/asberry.org\/blog_tech\/?p=837","title":{"rendered":"TCC &#8211; What Templates Are Active"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">So this is specifically for job templates but can be adapted to anything that needs to find out what languages are active for any given situation.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; auto-links: false; light: false; title: ; toolbar: true; notranslate\" title=\"\">\n&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;\n&lt;quer:query productCode=&quot;RC1704&quot; model=&quot;http:\/\/www.taleo.com\/ws\/tee800\/2009\/01&quot; projectedClass=&quot;JobTemplate&quot; locale=&quot;en&quot; mode=&quot;CSV&quot; csvheader=&quot;true&quot; largegraph=&quot;true&quot; preventDuplicates=&quot;false&quot; xmlns:quer=&quot;http:\/\/www.taleo.com\/ws\/integration\/query&quot;&gt;\n\t&lt;quer:subQueries\/&gt;\n\t&lt;quer:projections&gt;\n\t\t&lt;quer:projection&gt;\n\t\t\t&lt;quer:field path=&quot;Number&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection&gt;\n\t\t\t&lt;quer:field path=&quot;JobCode&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection&gt;\n\t\t\t&lt;quer:field path=&quot;State,Description&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_fr&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;fr&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_en&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;en&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_es&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;es&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_de&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;de&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_it&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;it&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_nl&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;nl&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_fr_FR&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;fr-FR&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_en_GB&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;en-GB&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_zh_CN&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;zh-CN&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_ja&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;ja&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_pt_BR&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;pt-BR&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_sv&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;sv&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_da&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;da&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_pl&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;pl&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_ru&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;ru&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_fi&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;fi&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_cs&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;cs&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_zh_TW&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;zh-TW&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_ko&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;ko&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_th&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;th&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_ms&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;ms&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_ca&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;ca&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_tr&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;tr&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_sk&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;sk&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_et&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;et&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_no&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;no&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_bg&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;bg&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_hr&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;hr&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_hu&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;hu&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_ro&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;ro&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_el&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;el&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_sr&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;sr&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_lt&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;lt&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_pt&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;pt&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_sl&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;sl&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_in&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;in&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t\t&lt;quer:projection alias=&quot;Lang_ar&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobInformation,DescriptionActive&quot; localeFiltering=&quot;customLocales&quot; locales=&quot;ar&quot;\/&gt;\n\t\t&lt;\/quer:projection&gt;\n\t&lt;\/quer:projections&gt;\n\t&lt;quer:projectionFilterings\/&gt;\n\t&lt;quer:filterings&gt;\n\t\t&lt;quer:filtering&gt;\n\t\t\t&lt;quer:equal&gt;\n\t\t\t\t&lt;quer:field path=&quot;State,Description&quot;\/&gt;\n\t\t\t\t&lt;quer:string&gt;Active&lt;\/quer:string&gt;\n\t\t\t&lt;\/quer:equal&gt;\n\t\t&lt;\/quer:filtering&gt;\n\t&lt;\/quer:filterings&gt;\n\t&lt;quer:sortings&gt;\n\t\t&lt;quer:sorting ascending=&quot;true&quot;&gt;\n\t\t\t&lt;quer:field path=&quot;JobCode&quot;\/&gt;\n\t\t&lt;\/quer:sorting&gt;\n\t&lt;\/quer:sortings&gt;\n\t&lt;quer:sortingFilterings\/&gt;\n\t&lt;quer:groupings\/&gt;\n\t&lt;quer:joinings\/&gt;\n&lt;\/quer:query&gt;\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>So this is specifically for job templates but can be adapted to anything that needs to find out what languages are active for any given situation.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[13],"tags":[],"class_list":["post-837","post","type-post","status-publish","format-standard","hentry","category-tcc","author-aron"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4bBkH-dv","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=\/wp\/v2\/posts\/837","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=837"}],"version-history":[{"count":1,"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=\/wp\/v2\/posts\/837\/revisions"}],"predecessor-version":[{"id":838,"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=\/wp\/v2\/posts\/837\/revisions\/838"}],"wp:attachment":[{"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=837"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=837"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=837"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}