trpgforum wrote:The page title is called landscapes-usa. This is now translated into Landscapes Usa. Of course, it should be Landscapes USA.
You are right. But I think this is worth the compromise of having a fast solution that effectively creates breadcrumbs from URL. I don't think this case would occur often, and it's just a cosmetic flaw that will not affect function anyway.
trpgforum wrote:The client forbids changing page titles for SEO reasons or does not want to set up whole series of redirects for cost reasons.
As mentioned, breadcrumbs uses folder
names (from url) not page titles (which is stored in page.json like labels). If X3 website owner is not interested in correcting their page names (which reflect in the URL, and are important for SEO), why would they spend time correcting labels, which is an additional task? Ultimately, URL should be the name of the page, while titles are only available when you want longer titles with characters not supported in folder names/urls. Logically, folder "names" should be the best option to reflect the page structure as the user sees it, and in terms of string length.
As noted, I'm not saying you don't have a point, but considering the technical aspect, I have decided that breadcrumbs is synched with URL. Just for reference, if we wanted to create breadcrumbs from page "labels" instead, it would work like this for a page /galleries/nature/trees/oak/: X3 would need to loop backwards from current page /oak/, load /{dir}/page.json and extract "menu_label" option. This would have to be done four times, once for each folder in the breadcrumbs structure. Instead of just loading page.json, X3 would have to load 4x page.json files.
This is easy for database-systems like Wordpress, because every detail gets extracted from the database, but it's ineffective in folder-based systems like X3. Considering the minimal advantage (if any), I decided to build breadcrumbs based on URL, and that's that! Labels are not supported unfortunately.