Skip to content

[Feature] More language support for the website #461

@milotype

Description

@milotype

Current situation
The DataBackup website transaltes currently only in English and Simplified Chinese.
(And I don't know where the content of the website is being hosted.)

Describe the feature
The DataBackup website should translate into other languages.
(Ideally it should also automatically recognize the browser's language or the users OS language setting, so users would automatically see the website in their own language, without the need to switch the language in the language menu.)

Solution suggestion

  1. Reuse strings for the DataBackup website which exist in translation files and can be translated at Hosted Weblate.
  2. Add new strings which don't exist in any translation file and can't be translated at Hosted Weblate.

Plese review the lists:

1. Strings which exist in a translation file:
DataBackup - (app/src/main/res/values-hr/strings.xml)
Home - (source-next/app/src/main/res/values-hr/strings.xml)
Language - (source-next/app/src/main/res/values-hr/strings.xml)
Free and open-source data backup application - ( source-next/app/src/main/res/values-hr/strings.xml)
Get Started - (source-next/app/src/main/res/values-hr/strings.xml)
GitHub - (as read-only) at (source-next/app/src/main/res/values-hr/strings.xml)
Root - (as read-only) at (source-next/app/src/main/res/values-hr/strings.xml)
Cloud - (source-next/app/src/main/res/values-hr/strings.xml)

2. Strings which don't exist in any translation file:
Support WebDAV, FTP, SMB.
Support Magisk, KernelSU, APatch.
Multi-user Support
You can backup/restore any applactions from/to any users.
GPL-3.0 Licensed | Copyright © 2024 DataBackupOfficial

After the impementation of reusing/adding new strings for the website, add the languages in their original name which you feel have a good percentage ot translation of the app and of the website at Hosted Weblate into the Language dropdown menu of the website. Here is a quick mockup of my idea.

Image

At the bottom of the list, you could add a separator line and add "Translate" with a link to https://hosted.weblate.org/engage/databackup/, which potentially will increase the translations of foreign languages by users. (In case you implement this suggestion for the language menu, you'll have to add the string Translate into a translation file.)

P.S.
I'm a translator, not a programmer, so I don't know if my suggestion can be implemented. 🤞

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions