manager icon indicating copy to clipboard operation
manager copied to clipboard

Only French guides linked

Open Jan-Eric-Babula opened this issue 6 years ago • 1 comments

Description

When trying to open a guide trough the OVH Web Control Panel all referenced guides are written in French, even though the interface language is set to English (or other). The title/link text is in English but the links URL still leads to the French version of the guide.

Steps to Reproduce

  1. Log into OVH Web Control Panel
  2. Set language to English 3.A) Open Web > Domains > [a_domain] > Guides > General information 3.B) Open Web > Emails > [a_domain] > Guides > General information
  3. Open Guide

Expected behavior:

A new tab with the selected guide written in the English language should open.

Actual behavior:

A new tab with the selected guide written in the French language opens. Example: OVH_Web_Bug

Reproduces how often: 100%

Additional Information

French links seem to be hardcoded in (credit to @resubaka): ovh-manager-web/client/app/configuration/configuration.controller.js

Jan-Eric-Babula avatar Jul 20 '19 12:07 Jan-Eric-Babula

Hi @Jan-Eric-Babula!

You're right! Theses guides URLs are hardcoded in a constant file.

Actually all documentation lives in a separate repository that can be found here: https://github.com/ovh/docs

For the Domains section

  • Guide: https://docs.ovh.com/fr/domains/changement-proprietaire-domaine/
  • Documentation: https://github.com/ovh/docs/tree/develop/pages/web/domains/trade_domain
  • Availability: FR and PL.

Constant: https://github.com/ovh-ux/ovh-manager-web/blob/master/client/app/config/constants.config.js#L294

For the Emails section

  1. First doc
  • Guide: https://docs.ovh.com/fr/emails/generalites-sur-les-emails-mutualises/
  • Documentation: https://github.com/ovh/docs/tree/develop/pages/web/emails/email_generalities
  • Availability: EN, ES, FI, FR, IT, LT, NL, PL and PT.
  1. Second doc
  • Guide: https://docs.ovh.com/fr/emails/generalites-sur-les-serveurs-mx-mutualises/
  • Documentation: https://github.com/ovh/docs/tree/develop/pages/web/domains/dns_zone_mx
  • Availability: CS, DE, EN, ES, FI, FR, IT, LT, NL, PL and PT.

Constants: https://github.com/ovh-ux/ng-ovh-web-universe-components/blob/master/src/guides/guides.constant.js#L419-L420


So yes we can improve how documentation URLs can be displayed in the control panel, especially for the Emails section.

Related to the Domains section (https://docs.ovh.com/fr/domains/changement-proprietaire-domaine/), @BaptisteOVH could you tell us when this documentation can be available for others languages?

Thanks!

antleblanc avatar Jul 22 '19 06:07 antleblanc