loadsys / loadsys/CakePHP-Sitemap

Possibility to add multilanguage records

Open
#43 0 comments 1 reaction 0 assignees View on GitHub
enhancement help-wanted v3.0
Dominant language
PHP
Stars
26
Forks
15
PR merge metrics
No merged PRs in 30d

Description

It would be nice to automatically add language variants with `SitemapBehavior`. The translate behavior could be detected and then, with a call to the `i18n` table get all the available languages.

Here you can see how alternate language pages must be specified in a sitemap file:

https://support.google.com/webmasters/answer/2620865?hl=en

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading SitemapBehavior and the translate behavior references in the issue, then review how the i18n table exposes available languages. Use the linked Google sitemap guidance to define the expected alternate-language output. Done means SitemapBehavior can generate language variants for translated records.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.