1 pvasili Mar 14, 2007 12:44
3 pvasili Mar 15, 2007 12:15
Afwas wrote:
Check this [url=http://manual.b2evolution.net/CreatingPlugin#Localization]page[/url] in the manual about localization of plugins. If there isn't a locale of your language, feel free to write one.
:) (i see this)
I have made translation *.po(for example on Russian) a file of a plug-in. What with it to do?
4 edb Mar 15, 2007 13:29
Contact the plugin's author! Like, for example, if you have a translation of the Turing Test plugin you would have to contact me. I would then figure out how to do my part for making a translation happen, then add your translation to the zip file so all future downloaders will benefit from your work.
I have a message form contact link on the bottom of my pages at http://wonderwinds.com/hackblog.php that I'm pretty sure works.
5 pvasili Mar 15, 2007 14:00
EdB wrote:
Contact the plugin's author! Like, for example, if you have a translation of the Turing Test plugin you would have to contact me. I would then figure out how to do my part for making a translation happen, then add your translation to the zip file so all future downloaders will benefit from your work.
I have a message form contact link on the bottom of my pages at http://wonderwinds.com/hackblog.php that I'm pretty sure works.
It is clear. :)
How to see the translated lines of a plug-in in mine blog?
Only copy my.po to the file /locales/my_locale/LC_MESSAGES/messages.po ?
6 yabba Mar 15, 2007 14:04
You need to generate a /<plugin>/locales/<locale>/_global.php with all of the extracted strings in it
ie/
<?php
/*
* Global lang file
* This file was generated manually by <author> ( @link : <link>)
*/
if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
$trans['nl-NL'] = array(
'Page Links plugin - Allows you to produce a custom index for your pages' => 'Inhoudstafel plugin - Deze maakt het mogelijk om per artikel een inhoudstabel op te bouwen',
'long description' => 'Lange omschrijving',
'AstonishMe Custom page links plugin' => 'AstonishMe Inhoudstafel plugin',
'Pages:' => 'Hoofdstukken:',
'Next page' => 'Volgende pagina',
'Previous page' => 'Vorige pagina',
);
?>
¥
7 pvasili Mar 15, 2007 14:18
¥åßßå wrote:
You need to generate a /<plugin>/locales/<locale>/_global.php with all of the extracted strings in it
ie/
<?php /* * Global lang file * This file was generated manually by <author> ( @link : <link>) */ if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' ); $trans['nl-NL'] = array( 'Page Links plugin - Allows you to produce a custom index for your pages' => 'Inhoudstafel plugin - Deze maakt het mogelijk om per artikel een inhoudstabel op te bouwen', 'long description' => 'Lange omschrijving', 'AstonishMe Custom page links plugin' => 'AstonishMe Inhoudstafel plugin', 'Pages:' => 'Hoofdstukken:', 'Next page' => 'Volgende pagina', 'Previous page' => 'Vorige pagina', ); ?>
¥
I know it :) Thanks
In the beginning I should copy my.po to the file /locales/my_locale/LC_MESSAGES/messages.po ?
Or me to put the file of translation of a plug-in in folder with messages.po?
8 yabba Mar 15, 2007 14:40
I suppose it's up to you where you put the po file as long as the _global.php is in the right place?
¥
9 pvasili Mar 15, 2007 15:43
¥åßßå wrote:
I suppose it's up to you where you put the po file as long as the _global.php is in the right place?
¥
Everything, has understood, thanks All & dAniel (in ICQ) :)
10 yabba Mar 15, 2007 15:45
Yay, thank god for Blueyed ;)
¥
11 edb Mar 15, 2007 16:11
pvasili are you going to send me the translation?
12 pvasili Mar 15, 2007 16:22
EdB wrote:
pvasili are you going to send me the translation?
Plug-in?
B2E (1.9 and 1.8) i send fplanque :)
13 edb Mar 15, 2007 16:58
pvasili wrote:
Plug-in?
B2E (1.9 and 1.8) i send fplanque :)
fplanque will have no way of using the translation of a plugin. Reference http://plugins.b2evolution.net/index.php/2007/01/08/turing_test#comments and the title of this topic, please. If you've got a translation of a plugin you need to provide it to the plugin author if it is going to ever be included in the plugin.
14 pvasili Mar 16, 2007 10:28
Has sent privately
Check this [url=http://manual.b2evolution.net/CreatingPlugin#Localization]page[/url] in the manual about localization of plugins. If there isn't a locale of your language, feel free to write one.