Hardcoded "wrote" in flarum/bbcode
- Dominant language
- No language data
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
## Bug Report
**Current Behavior**
When I use QUOTE BBCode in other language that English I have:
> username wrote:
**Steps to Reproduce**
1. Setup another language.
2. Quote an user
3. wrote is not translated.
**Expected Behavior**
Allow to translate "wrote".
**Environment**
- Flarum version: 0.1.0-b16
**Possible Solution**
See topic https://discuss.flarum.org/d/27110-loading-order/3 using :
```
$config->rendering->parameters['L_WROTE'] = $translator->trans('wrote');
```
Contributor guide
Research direction
Start with the QUOTE BBCode rendering entry point and the rendering parameter example from the issue, then review the linked loading-order discussion. Done means the “wrote” label can be translated and no longer appears hardcoded when quoting in a non-English locale.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- internationalization
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100