System-generated Labels

When new phrases are added to your dashboard by Localize, system-generated labels will be automatically added to specific content types.

These labels can be used to filter your phrases to help you find specific types of content, e.g. title tags and meta descriptions, etc.


The following are the types of system labels available.

SEO-Related Metadata

The following system labels are added to phrases that contain metadata from the <head> section of your website.

📘

Use Human Translations for SEO-related Metadata

Localize highly recommends that you have human translators craft the language in these tags and attributes as a best practice for SEO.

Label NameDescription
lzm-meta-descriptionPhrase is the text from a description meta tag
lzm-meta-keywordsPhrase is the text from a keywords meta tag
lzm-meta-og:descriptionPhrase is the text from a Facebook Open Graph: Description meta tag
lzm-meta-og:titlePhrase is the text from a Facebook Open Graph: Title meta tag
lzm-meta-twitter:descriptionPhrase is the text from a Twitter: Description meta tag
lzm-meta-twitter:titlePhrase is the text from a Twitter: Title meta tag
lz-page-titlePhrase is the text from a title tag
<meta name="description" content="this is a phrase" />
<meta name="keywords" content="this is a phrase, keyword 2, keyword 3" />
<meta name="og:description" content="this is a phrase" />
<meta name="og:title" content="this is a phrase" />
<meta name="twitter:description" content="this is a phrase" />
<meta name="twitter:title" content="this is a phrase" />
<title>this is a phrase</title>

👍

Example Use Case: Find All SEO-related Phrases

  • To find all SEO-related phrases you can use the Predefined SEO Metadata Filter
    • This will select all relevant system labels for you, and display the list of phrases.
  • It's a best practice to have these phrases translated by a human so that they are more accurate for the search engines to find and when displayed in the search results.
    • To check which of these phrases have not yet been translated by a human, combine this filter with the Translated By filter and select No Human Translation.

HTML Attributes

The following system labels are added to phrases that contain specific HTML attributes in the <body> section of your website.

Label NameDescription
lza-altPhrase is the text from an alt attribute
lza-aria-labelPhrase is the text from an aria-label attribute
lza-isolatePhrase contains an isolate, data-isolate or class="localize-isolate" attribute
lza-placeholderPhrase is the text from a placeholder attribute
lza-pluralizePhrase contains a pluralize or data-pluralize attribute
lza-titlePhrase is the text from a title attribute
NOTE: This is NOT the page title!
lz-audioThe phrase contains the src attribute with a URL from an audio element.
lz-dynamic-phraseThe phrase contains a variable that was created in the dashboard using the Define Variables feature.
lz-has-variableThe phrase contains a <var> tag
lz-imageThe phrase contains a URL for the source language image file.
<img src="some_URL" alt="this is a phrase" />

<p aria-label="this is a phrase">Another phrase</p>

<p class="localize-isolate">this is a phrase</p>
<p data-isolate>this is a phrase</p>
<p isolate>this is a phrase</p>

<input type="text" placeholder="this is a phrase">Another phrase</input>

You have <var pluralize="1">one</var> notification.
You have <var data-pluralize="1">one</var> notification.

<p title="this is a phrase">This is a different phrase.</p>

My roommate's name is: <var roommate>Nicole</var>.

Informational Labels

These labels are automatically applied to all phrases if they meet the following criteria.

Label NameDescription
lz-non-source-language-phraseThe phrase is not in the source language of your project.

- Helpful for finding and bulk-blocking non-source language content.
lz-phrase-contains-numberThe phrase contains a number.

- Helpful for finding dates, currency, and other numbers.
lz-phrase-contains-dateThe phrase contains a date.
lz-localized-dateLocalize translated the date in the phrase to match the syntax for the target language.