Skip to content

Feature request: Translate website #349

@milotype

Description

@milotype

I think it would be good if you could implement translating the JSignPdf website.

Proposed solution:
Add a new component at https://hosted.weblate.org/projects/jsignpdf/#components, for instance "Website" (depending if your Hosted Weblate plan covers it) with files for all 19 currently translated languages for the app.

If you decide to do it, I'd also suggest to:

  • implement automatic recognition of the users browser/system language settings when opening https://intoolswetrust.github.io/jsignpdf/ (so users don't have to click the language menu in order to swith to their language)
  • place the "Change theme" icon, which is currently in the footer, into the header part left to the "GitHub" icon (see mockups below)
  • add a "Languages" icon and place it left to the "Theme" icon, so users can switch the language manually if they want (see mockups below)

Mockup - wide screen:
Image

Mockup - narrow screen menu closed:
Image

Mockup - narrow screen menu open:
Image


For the listing of languages in the dropdown menu I'd suggest to sort them in the follownig order:

  • first latin script in alphabetical order with original language names
  • then other scripts

The dropdown language menu would currently show these languages:

Bokmål
Čeština
Deutsch
English
Español
Français
Hrvatski
Italiano
Magyar
Polski
Português
Slovenčina
Ελληνικά
Русский
Հայերեն
தமிழ்
日本語
简体中文
繁體中文

After all scripts and languages, add a horizontal line as a separator and add an item "Translate" with a link to https://hosted.weblate.org/projects/jsignpdf/messages/ (this is IMO quite usefull to incerease the probability that the project gets translated into more languages by users or visitors of the website)

The dropdown language menu would look like this:

Bokmål
Čeština
Deutsch
English
Español
Français
Hrvatski
Italiano
Magyar
Polski
Português
Slovenčina
Ελληνικά
Русский
Հայերեն
தமிழ்
日本語
简体中文
繁體中文
——————
Translate

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions