nextcloud / nextcloud/documentation
Give details on how to work with HTML tags inside front-end translations
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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