Closed jean-gui closed 8 months ago
Due to the way that Craft works, if we were to use that setting on the Main Navigation entries, any changes we make to the entries would then be reflected on every other site.
For example, if we were to change the title of the "Standards" nav item to "規格" in Japanese for example, the nav item on the English site would then have the title of "規格".
What we could do to mitigate this is add a Matrix field of titles in different languages, perhaps within an "Internationalisation" tab on each navigation entry, and display the titles on the Front End conditionally based on the language setting of the site and use the value in the relevant Matrix item.
For example:
--- Entries -> Main Navigation -> Standards (English)
-- Internationalisation Titles
Let me know what you think!
I don't really know how translations work in Craft but I was thinking of a behavior similar to blog posts, except that new entries would automatically be propagated to the Chinese and Japanese websites instead of having to choose to which sites to propagate them.
Pull request created for actioning the above
Main menu is currently configured as "Only save entries to the site they were created in", so for the Chinese and Japanese sites we'll have to manually re-create all entries. It would be more manageable to configure it as "Save entries to other sites in the same site group".
We also need to be able to link to pages in other languages, and thus to specify that language for hreflang.