Трудности перевода

Здравствуйте!

Есть англоязычная тема. Имеются файлы en_EN.mo en_EN.po в корне темы. Мной были заменены на ru_Ru.mo и ru_RU.po (взял из wp-content\languages\).

При замене англоязычного текста на русский, например в сайдбаре, тескст перестает быть видимым.

Жду Ваших решений.

А какой основной язык блога?

Вы засунули вообщето левый файли, с переводом движка, вместо файлов с переводом темы. Ничего не получится.

При замене англоязычного текста на русский, например в сайдбаре, тескст перестает быть видимым

При замене где? При редактировании темы?

Основной язык блога – английский.

В readme.txt есть такой пункт:
Urbanhip can be translated in other languages through .mo and .po files. For this follow the next steps:

– Create a "languages" folder in your wp-content.
– Copy the .mo and .po files for your language from http://svn.automattic.com/wordpress-i18n/ or from another location.
– Copy them to your "languages" folder in wp-content.
– In the "wp-config.php" file of your wordpress, change the following line:

define (‘WPLANG’, ”);
to
define (‘WPLANG’, ‘language_LANGUAGE’);

For example: define (‘WPLANG’, ‘fr_FR’); – for French

– In your theme folder, you have a .mo and a .po file. They are for English. For other languages, duplicate the .po file, rename it, change it’s header to correspond with your chosen language, and translate the lines it contains. For this, install Poedit, edit the .po file, translate it to your language, and generate a .mo file for it. Both files should be located in your theme folder.

При редактировании текста о сайте в сайдбаре.

Про перевод самой темы написано в последнем абзаце:

In your theme folder, you have a .mo and a .po file. They are for English. For other languages, duplicate the .po file, rename it, change it's header to correspond with your chosen language, and translate the lines it contains. For this, install Poedit, edit the .po file, translate it to your language, and generate a .mo file for it. Both files should be located in your theme folder.

В теме используется скрипт Cufón для нестандартных шрифтов. Можно отключить его или установить шрифт с поддержкой русских символов.

Действительно Cufon. Есть несколько шрифтов, которые подключаются при помощи его. Все имеют расширение .js. Опишите, как добавить русский язык.

Anonymous
Отправить
Ответ на: