Bug 45918 - The link to Univention Blog should be language specific
The link to Univention Blog should be language specific
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Portal
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0
Assigned To: Dirk Wiesenthal
Florian Best
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-12-21 10:21 CET by Nico Gulden
Modified: 2021-05-25 16:03 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 1: Cosmetic issue or missing function but workaround exists
Who will be affected by this bug?: 4: Will affect most installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.023
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2017120721000261
Bug group (optional): External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Gulden univentionstaff 2017-12-21 10:21:28 CET
The portal entry for the Univention blog links to the english version of the blog, regardless of the selected language for the portal.

The link should consider the selected language and show the link accordingly:

* DE: https://www.univention.de/news/blog-de/
* EN: https://www.univention.com/news/blog-en/
* FR: https://www.univention.com/news/blog-en/
Comment 1 Florian Best univentionstaff 2017-12-21 10:38:07 CET
The portal can't translate links. That was a design decision when it was implemented. If we want to translate this link we either:
* add implementations for the portal
* or link to e.g. /univention/blog/ and detect the language there via python and make a HTTP redirection
Comment 2 Ingo Steuwer univentionstaff 2020-07-03 20:56:04 CEST
This issue has been filed against UCS 4.2.

UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.
Comment 3 Dirk Wiesenthal univentionstaff 2021-03-22 12:57:58 CET
Needed for the new portal as it does not have hooks yet and thus cannot localize the links via translation files in JS.
Comment 4 Dirk Wiesenthal univentionstaff 2021-03-22 13:10:47 CET
Incorrectly committed against Bug#52869, these commits are effectively fixing the bug:
  13ed566538089ff92db3027e368c5ee3593cebc4
  d2bbc854e2f6a19557930cbe5c5665a8b4d01450

TODO: base/univention-system-setup/umc/python/setup/netconf/modules/LdapReferences.py
Comment 5 Dirk Wiesenthal univentionstaff 2021-03-22 16:22:50 CET
(In reply to Dirk Wiesenthal from comment #4)
> TODO:
> base/univention-system-setup/umc/python/setup/netconf/modules/LdapReferences.
> py
univention-system-setup 13.0.3-14A~5.0.0.202103221613
Comment 6 Florian Best univentionstaff 2021-03-24 19:41:56 CET
The univention blog entry is not shown as tile anymore. It's only present in the help menu.
Comment 7 Florian Best univentionstaff 2021-03-24 19:46:36 CET
(In reply to Florian Best from comment #6)
> The univention blog entry is not shown as tile anymore. It's only present in
> the help menu.

I move this to Bug #51197.
Comment 8 Florian Best univentionstaff 2021-03-24 19:47:45 CET
OK: links can be translated
OK: all places where links are added are migrated
OK: LDAP + UDM syntax + UDM-REST-API representation
OK: changelog entry
Comment 9 Florian Best univentionstaff 2021-05-25 16:03:20 CEST
UCS 5.0 has been released:
 https://docs.software-univention.de/release-notes-5.0-0-en.html
 https://docs.software-univention.de/release-notes-5.0-0-de.html

If this error occurs again, please use "Clone This Bug".