Get column translations via API
Thanks for the follow-up! The column col_id_transl is the standard translation (transl). If the column uses an alternative label, that one is already applied, so you get what the user actually sees.
The grid and form labels are in separate views, with the same keys as i_ui_col:
i_ui_col_grid→grid_transli_ui_col_form→form_transl
For example:
{{indicium_url}}/iam/iam/i_ui_col_grid?gui_appl_alias={{gui_appl_alias}}&$filter=tab_id eq 'trade_item'&$select=tab_id,tab_variant_id,col_id,grid_transl
There is no plural for columns as that only applies to tables. For the table itself (the tab_id in your query) you can get both the singular and plural translation from i_ui_tab:
{{indicium_url}}/iam/iam/i_ui_tab?gui_appl_alias={{gui_appl_alias}}&$filter=tab_id eq 'trade_item'&$select=tab_id,tab_variant_id,tab_id_transl,tab_id_transl_plural
One tip: these views return a row per table variant. Add and tab_variant_id eq '' to your filter to get only the default (non-variant) labels, if you use table variants in your situation at all.
Read more here: Source link
