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-09-11 12:25 |
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 | ||||
|
Using the correct hreflang values is crucial for SEO and ensuring that users are directed to the appropriate regional content. If the framework creates views with incorrect abbreviations like "_de" and "_en", and you’re encountering SQL errors with 'en-Us' or 'de-Au', it’s important to adjust the framework to support the proper ISO codes. Updating the framework or correcting the view generation to use the proper regional codes should resolve these issues. https://www.igmguru.com/digital-marketing-programming/ruby-on-rails-certification-training |
|
@kordhell we definitely agree with you and this will be one of our main topics for one of the next major releases. |