Skip to main content

Localize Documents

Q: Which documents do i need to translate within a zone?
A: Basically every "physically" document. For example we want to add a product page:

localization

In this example there are several documents available:

DocumentLocale
domain4/de/produktede
domain4/en/productsen
domain4/nl-nl/productennl_NL
domain4/en-us/productsen_US
domain5/produitsfr

Localization

Use the localization service to connect all available documents:

  • domain4/de/produkte
  • domain4/en/products
  • domain4/nl-nl/producten
  • domain4/en-us/products
  • domain5/produits

If you're going to open one of those pages and check the source code you'll find the generated href-tags on top. Now let's check each element again:

DocumentDescription
domain4/de/produkteIt's a real document.
domain4/en/productsIt's a real document.
domain4/nl-nl/productenIt's a real document.
domain4/de-chIt's a hardlink. I18n Bundle will add this document automatically for you. That's the "magic" we talked about earlier.
domain4/fr-chAlso a hardlink. I18n Bundle will add this document automatically for you. That's the "magic" we talked about earlier.
domain4/en-us/productsA hardlink! But now there is a dedicated document so you also need to add it to the translation service. If you want to hide it, skip the translation service and just disable it.
domain4/en_AU/productsAlso a hardlink. I18n Bundle will add this document automatically for you. That's the "magic" we talked about earlier.
domain5/produitsIt's a real document.
domain6/itThere is no product page, so no translation needed!