A
A
artemtrofimov2014-09-27 19:25:19
Magento
artemtrofimov, 2014-09-27 19:25:19

Can installing a Magento theme break localization?

When installing new themes for Magento, is it possible to get into a situation where the store turns out to be partially localized? Does Magento localization apply to the engine as a whole or to the theme itself?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Y
Yuri Gerasimenko, 2014-09-27
@Hide

In short, maybe. Magento is made in PHP. Themes contain PHP code. A crooked theme in general can ruin your store (as well as a crooked extension). Magenta has mechanisms for localizing everything. Both text in PHP and text in Javascript code.
Localization is a question not only for the theme, but also for the language pack. Partial localization can occur if phrases from the topic are not translated in the language pack, or these phrases were not wrapped in special. function, let's call it T-function (translation function).

P
Puma Thailand, 2014-09-28
@opium

if for sure it will break the
localization is done by the theme itself
and not by the engine

O
Oleg Batishchev, 2014-10-12
@z0rg

Localization or translation? What you are asking is most likely a translation. And you won’t break localization in any way, because it is used through Zend library files.
As for translation, both individual modules and the theme itself are translated, so even if you install a new theme, and not everything is translated there, you can translate it yourself through the translate.csv file. But it often happens that the theme is made without translation support, the lines are written cleanly without passing through the $this->__('str') translation function. Such moments should be looked for in the theme and edited. There are also some other nuances associated with the incorrect development of the theme.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question