Skip to content

Why some translation is invalid, the other is valid in same file? #302

@SunshineTech

Description

@SunshineTech

In magento2, there are much magical thing. That is, in the same file, some translation is valid, the other is invalid(not display the locale text). For example:

  1. In app/code/Mage/Backend/view/adminhtml/widget/grid/extended.phtml, the translation of 'View'(line 99) and 'per page'(line 118) is invalid.
  2. In app/code/Mage/Backend/Block/Widget/Grid/Extended.php, the translation of 'Search'(line 214) is invalid.

I use zh_CN, in the locale file, both the valid and the invalid translation all exist.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions