Labels are a method of categorizing your content in the Localize dashboard.
Example Use Case: Order professional translations that match a search query.
With labels, you simply...
...and Place an order!
Label Triggers are conditions under which phrases get tagged with a label automatically.
1) HTML data-localize Attributes
2) A search filter -- (future feature request)
2) Content from a domain URL -- (future feature request)
HTML data-localize Attributes
<HTML ELEMENT data-localize="TYPE-YOUR-LABEL-HERE">
Simply add an attribute to any HTML element with
data-localize= and then input your label name in double quotes, with no spaces.
Note: You can add multiple labels to any one HTML element.
<div data-localize="Documentation auto-approve">
Reserved Labels have been pre-designated for given actions.
Adding the attribute
data-localize="auto-approve" to an HTML element applies the label 'auto-approve' to phrases within that HTML parent element. When phrases within that element are sent to the translation engine, the phrases are put directly into the Published bin, without further input from you, and labelled with "auto-approve".
Note: This also applies to <meta> tags in the header of your HTML page.
Label Actions automatically apply when a phrase gets added to a label. Currently, we have four:
Approve (as described above)
Block -- (under development)
Ignore -- (under development)
Delete -- (under development)
All label customization, including triggers and actions, may be found in the gear icon.