Pti’s WP-Multi-language plugin

Posted on: 10.02.2011 в 00:57 - 9 комментариев - Visited 6623 times

We are proud to say, this plugin is a miracle. It scans the locations folder of WordPress and displays on top left corner on the fly localization switch of your blog. Yours chosen location is stored in cookie, and even if you return to this blog with this installed plugin (Pti’s WP-Multi-language plugin) you will see it with the same interface as the chosen some weeks ago.

In addition, for the administrative part you can choose desired localization. This setting is saved in a different cookie, and does not depend on the localization settings, that you chose for the site. This can be useful if multiple users posting to the one blog from different countries and may have difficulty if they see the administrative part in an unknown language.

This plugin is able to identify localization not only in terms of complete containment, such as ru_RU or fr_FR, it can also detect and display a flag of the country based on linguistic lines. Premer good to be a plugin displays Ukrainian flag for localization uk or the Japanese flag for the localization jp.

I believe that to create a multi-lingual website this plugin is required. Is’s work you can see on my site.

Download it now: wp-multilang

Download localizations: languages (Russian, Ukranian, French, German. English is WordPress default)

===================================================================================

С гордостью скажу, этот плагин просто чудо. Он умеет сканировать папку языков WordPress и выводить слева вверху панельку для переключения на лету языка вашего блога. Выбранная вами локализация сохраняется в cookie, и даже если вы вернётесь на этот блог с установленным плагином Pti’s WP-Multi-language plugin вы увидите его с таким же интерфейсом, как выбирали несколько недель назад.

Кроме того, для административной части вы точно так же можете выбрать желаемую локализацию. Эта настройка сохраняется в другом cookie и не зависит от настроек локализации, которые вы выбрали для сайта. Это может быть полезно, если несколько пользователей могут публиковать записи на одном блоге из разных стран и могут испытывать сложности, если увидят административную часть на неизвестном им языке.

Плагин умеет распознавать локализации не только по полным названиям, как то ru_RU или fr_FR, он так же может определять и выводить соответствующий флаг страны по языковому признаку. Хорошим примером тому будет как плугин выводит украинский флаг для локализации uk или японский флаг для локализации jp.

Я уверен, что для создания мульти-язычного сайта этот плугин просто необходим. пример его работы вы можете увидеть на моём сайте.

Загрузить: wp-multilang (можно устанавливать через административную часть WordPress)

Локализации: languages (Русская, Украинская, Французская, Немецкая. Английский язык — родной язык WordPress)

9 комментариев on “Pti’s WP-Multi-language plugin”

1
phan-thomas

Thanks for the plugin, it works like a charme and is offering only what’s needed for a multi-lingual frontend 🙂

Many other solutions which I’ve checked are so cluttered with functions which are possibly handy but not so necessary.

Only the flags are too small and the top right corner is not that handy. Why you choose such design for the switcher?

It would be handy to have a css file to manage the layout and design of the switcher. Okay in the php file it’s possible to change the css properties for the div fixedtop(right|left), but wouldn’t be it nice to have even a tab in the settings at the backend of wordpress?

Guess you’re planing such things, do you? But say do you perhaps know how to include into the po-files some text for widgets, which would be also translated by a switch?

08.04.2011 on 16:07
2
ptipti

Well as you can see my plugin to protect the form of comments switches languages ​​in the same way as the switch interface of the blog. I think perhaps there is a sense that a change in appearance, but I’m a programmer not a designer. If you have any ideas you can implement them

To plug-ins have become aware of changes to the interface is sometimes necessary to alter slightly as it moved piece of code that defines the location of it prior to the withdrawal of content, for example in themselves the functions or classes.

01.05.2011 on 06:00
3
cas

Getting an error:

Warning: opendir(/home/a7046141/public_html/wp-content/languages) [function.opendir]: failed to open dir: No such file or directory in /home/a7046141/public_html/wp-content/plugins/wp-multilang/wp-multilang.php on line 85

Can you help out?

01.11.2011 on 08:37
4
ptipti

WordPress version?

01.11.2011 on 10:33
5
cas

WordPress 3.2.1.

01.11.2011 on 12:42
6
ptipti

I think your localizations directory is empty. THis plugin displays only instaled localizations. You can download some of them from link in article. Without additional localizations this plugin have no sense

25.02.2012 on 16:39
7
panzany

it does´nt work

06.08.2012 on 12:23
8
AdSer

Link for locals doesnt working

19.11.2012 on 18:06
9
ptipti

fixed it

19.11.2012 on 18:48

Добавить комментарий

Включите изображения, чтобы увидеть вопрос *