nextcloud / nextcloud/documentation

Give details on how to work with HTML tags inside front-end translations

Open
#7,584 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement feature: language l10n and translations manual: developer
Dominant language
JavaScript
Stars
628
Forks
2.5k
Avg merge
2d 11h
Merged PRs (30d)
135

Description

Things such as placeholders, and other tricks like how to use tags (ErrorMessageFactory.js uses a trick with replace() for example).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading ErrorMessageFactory.js, especially the replace() example mentioned in the issue, and inspect the existing documentation structure for front-end translations. Add guidance covering placeholders and HTML tags in translations, with examples that reflect the documented behavior. Done means the relevant translation documentation explains these techniques clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation, localization
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.