View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006345 | OXID eShop (all versions) | 4.06. Language and translations | public | 2016-03-08 15:16 | 2024-03-06 13:42 |
Reporter | d3 | Assigned To | |||
Priority | low | Severity | major | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
Product Version | 4.9.7 / 5.2.7 | ||||
Summary | 0006345: hreflang + wrong abbreviation(ISO-Code) | ||||
Description | The abbreviation from the languags-setting is used for the 'hreflang'-Link. For German the Shop/Theme creates this link: <link rel="alternate" hreflang="de" href="http://de.yourshop.de"/> For English: <link rel="alternate" hreflang="en" href="http://en.yourshop.de"/> But what is with US-English or a separete German Language(Page) for Austria? In this cases the value for hreflang should be: en-Us / de-Au This is a combination of language-code(https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) an country-code(https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). It is not possible to use this combination in the shop! The framework creates the views with this abbreviation(_de, _en). And a database view with this name: 'oxv_oxactions_en-Us' results in a SQL-Error. This kind ofviews can't delete from an, ... SQL-Error. A hreflang-Link with 'us' or 'au' is not a valid value. Source https://www.sistrix.de/hreflang-guide/ mg | ||||
Tags | Internationalization Rework | ||||
Theme | Not defined | ||||
Browser | Not defined | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||