多语言问题:language/en.php
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 1.7k
- Forks
- 253
- PR merge metrics
- No merged PRs in 30d
Description
我在language/en.php中定义了一个数组,并且也设置了参数lang=en,并且var_dump(getLanguage())也出现了en,但是并没有发现网页有任何翻译的迹象。'lan'=>TXLanguage::getLanguage('cn')也设置了。
Contributor guide
No contributing guide indexed for this repository
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 with language/en.php and the language selection calls mentioned in the report: lang=en, getLanguage(), and TXLanguage::getLanguage('cn'). Trace how the selected language reaches page rendering and identify why the defined translations are not visible. Done means the configured English language produces translated webpage text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- internationalization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100