I ran into some questions this morning regarding localization and translation of pages and I was hoping someone could shed some light on them...
Is it possible to override the localization url routing?
Out of the box the default language doesn't have a culture specified in the url.
How can we instead of website.com/home & http:/website.com/es/home have website.com/en/home & website.com/es/home where 'en' is the default language?
The resource.config file just lists the languages, it doesn't specify the re-write rule somewhere only in the [sf_url_data] table.
Page overview should have flexible column widths.
I've tried to add these languages and look at the screenshot attached :)
<add culture="en" uiCulture="en" key="english-en" />
<add culture="en-US" uiCulture="en-US" key="english (united states)-en-us" />
<add culture="es-US" uiCulture="es-US" key="spanish (united states)-es-us" />
<add culture="nl-BE" uiCulture="nl-BE" key="dutch (belgium)-nl-be" />
<add culture="fr-BE" uiCulture="fr-BE" key="french (belgium)-fr-be" />
<add culture="en-GB" uiCulture="en-GB" key="english (united kingdom)-en-gb" />
<add culture="fr-FR" uiCulture="fr-FR" key="french (france)-fr-fr" />
<add culture="es-ES" uiCulture="es-ES" key="spanish (spain, international sort)-es-es" />
And for those wondering, the first 'en' culture is only added to adress the first url-rewrite question.
Is it possible in some way to visualize the inheritence and/or change the inheritence?
Ideally everyone will start with an 'en' page but in 6 months, you're bound to have a group of pages inheriting from a 'fr' page and others from a 'es' page.
Is there some way to show which is the 'parent' page and is it possible to change the parent? Neither on the page overview, nor on page edit does it tell me which page is the parent.
Parent may sound like a stupid word when all pages are synced, but under water there must be a version the rest derives from, also see my next 2 question.
Is it possible to have one version waiting for approval with inheritence?
If translations are synced, is it possible to have that parent page, or the default language wait for approval instead of some hidden translation ? When viewing the page overview in English, I don't see the fr-BE version waiting for approval. Or perhaps give the language version that awaits approval that yellow/orange approval color?
Is it possible to have one language version break inheritence, while others remain inherited?
So for instance with the above cultures, is it possible to have all the 'en' pages inherit but the 'fr' page is broken from inheritence?
Multiple url's in combination with translations.
If I set a multiple-url for the 'parent' page, this doesn't get applied to the inherited translations.
However if I edit the properties of a localized version and add the same url, it doesn't add the /fr-BE/ in between...
website/home is also accesible as website/homepage but
website/fr-BE/home is not accesible as website/fr-BE/homepage if I say ~/homepage, but only if I manually add the rewrite rule ~/fr-BE/homepage.
Will this change in future versions? Or will this be default behavior?
Is there a way to attach role permissions to a language?
So someone in the 'AuthorFR' role to only be allowed to edit 'french localized' pages? I understand that with inherited pages that'll never work, but is there some way to make the 'preferred language' (as entered in profile) the mandatory and exclusive language?
That way, when you have a project without inherited translations, multiple languages can be exclusively handled by a certain role. I know you can set permissions but they're only effective after a page is created, not before and the language restriction could work throughout the whole site.