We're currently working on making a site multilingual to support the Welsh language and as part of this we need to provide translations for the admin categories in use across the site.
I've added a language XML file to include the Welsh variant for these categories into the /lang folder, e.g.
This has worked in edit mode as when I render the page in Welsh I am able to programmatically change the current UI culture to cy-GB and so I see "Newyddion" as expected.
However when I make any changes to the page and publish, or run the content indexing job, the master value of "News" is added to the index despite other fields on the page having their Welsh variant indexed.
Is it possible to force the Welsh variant to be indexed instead, and if so is there something I'm missing to get this working?
If I manually change the current culture to cy-GB when the content indexing job is running this seems to work as expected and the Welsh variant is indexed, but then obviously the Welsh variant is also indexed for the English master version. This also doesn't solve the problem that when content is published, this reverts back to the master language being indexed for these categories.
Hi,
We're currently working on making a site multilingual to support the Welsh language and as part of this we need to provide translations for the admin categories in use across the site.
I've added a language XML file to include the Welsh variant for these categories into the /lang folder, e.g.
This has worked in edit mode as when I render the page in Welsh I am able to programmatically change the current UI culture to cy-GB and so I see "Newyddion" as expected.
However when I make any changes to the page and publish, or run the content indexing job, the master value of "News" is added to the index despite other fields on the page having their Welsh variant indexed.
Is it possible to force the Welsh variant to be indexed instead, and if so is there something I'm missing to get this working?
If I manually change the current culture to cy-GB when the content indexing job is running this seems to work as expected and the Welsh variant is indexed, but then obviously the Welsh variant is also indexed for the English master version. This also doesn't solve the problem that when content is published, this reverts back to the master language being indexed for these categories.
Any help is much appreciated, thanks!
Bradley