Tencent / Tencent/Biny

多语言问题:language/en.php

Open
#82 3 comments 0 reactions 0 assignees View on GitHub

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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.