magento2 icon indicating copy to clipboard operation
magento2 copied to clipboard

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

Open SunshineTech opened this issue 13 years ago • 4 comments

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.

SunshineTech avatar Jun 02 '13 06:06 SunshineTech

Hello. What do you mean by valid/invalid translations? Is it quality of translator work? The files were translated by more than 1 person which could cause such issues.

magento-team avatar Jun 02 '13 15:06 magento-team

In the same file, some text was translated, the other text was not translated.

SunshineTech avatar Jun 03 '13 13:06 SunshineTech

Hi, If someone collects non-translated texts they will be corrected?

Example: app\code\Mage\Persistent\view\frontend\remember_me_tooltip.phtml What's this? --> __('What\'s this?'); ?>

ideirj avatar Jun 25 '13 22:06 ideirj

We will update translations when preparing the release version. So far I can tell you that for cases when the string is not localized, means there is no translation and the English key is used for displaying the localized string.

verklov avatar Apr 17 '14 13:04 verklov