Skip to content

Error message should have a link to localized documentation if possible. #101

Closed

Description

@x87

Currently if any known error occurs the error message contains a link to the online documentation portal. For example, https://docs.sannybuilder.com/troubleshooting/errors/0010

However if there is a localization that matches Sanny's selected language the error message should offer a link to the localization.

If the Russian language is selected (lang id=1049) the link should look like:
https://docs.sannybuilder.com/v/ru/troubleshooting/errors/0010

Could be a simple text mapping to allow easy customization if documentation gets new translations.

Activity

  1. added
    priority:p2
    type:nice-to-have
    on Nov 30, 2020
  2. added this to the v3.7.0 milestone on Jan 7, 2021
  3. x87 commented on Jan 7, 2021

    @x87
    CollaboratorAuthor

    There is a new file docs.sbf in Sanny Builder\data folder that maps Language ID to Documentation portal url. Currently two localizations are available: the default one in English: https://docs.sannybuilder.com/ and one in Russian https://docs.sannybuilder.com/v/ru/. When you switch over to the Russian language in Sanny, help links point to the translated version of the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:p2scope:IDEtype:nice-to-have

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions