phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
Bulgarian language

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 SEO TooLKit  » phpBB SEO Premod
::  
Author Message
DR_GIGGULS



Joined: 17 Feb 2008
Posts: 2

Bulgarian languagePosted: Sun Feb 17, 2008 9:38 am    Post subject: Bulgarian language

Hello.
I want to create a Bulgarian translation for this mod, however, I don't feel like translating everything.
Could you please tell me what's the difference in the lang files between phpbb3 and the premodded seo version so I can translate only the necessary and copy the rest?
Back to top
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3477

Bulgarian languagePosted: Sun Feb 17, 2008 12:30 pm    Post subject: Re: Bulgarian language

The most important is the language/en/acp/phpbb_seo.php file. The good thing is this file is the same for the premod and the three phpBB SEO mod rewrites, so if you translate it, you'll be good for four mods in a row Wink
We implemented the language pack this way because this only meant few useless language keys for each cases, which really isn't a performance issue, especially because this file is only used in ACP. It's of course a lot easier to maintain this way.

Then, the premod adds this in language/en/common.php

Code:
// www.phpBB-SEO.com SEO TOOLKIT BEGIN - TITLE
$lang['Page'] = 'Page ';
// www.phpBB-SEO.com SEO TOOLKIT END - TITLE


and this in language/en/acp/common.php :
Code:
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
$lang = array_merge($lang, array(
   'ACP_CAT_PHPBB_SEO' => 'phpBB SEO',
   'ACP_MOD_REWRITE' => 'URL Rewriting settings',
   'ACP_PHPBB_SEO_CLASS' => 'phpBB SEO Class settings',
   'ACP_FORUM_URL' => 'Forum URL Management',
   'ACP_HTACCESS' => '.htaccess',
   'ACP_PREMOD_UPDATE' => '<h1>Release announcement</h1>
   <p>This update does only concern the premod, not the phpBB core.</p>
   <p>A new version of the phpBB SEO premod is thus available : %1$s<br/>Make sure you visit<a href="%2$s" title="The release thread"><b>the release thread</b></a> and update your installation.</p>',
   'SEO_LOG_INSTALL_PHPBB_SEO' => '<strong>phpBB SEO mod rewrite installed</strong>',
   'SEO_LOG_INSTALL_PHPBB_SEO_FAIL' => '<strong>phpBB SEO mod rewrite install attempt failed</strong>',
   'SEO_LOG_UNINSTALL_PHPBB_SEO' => '<strong>phpBB SEO mod rewrite uninstalled</strong>',
   'SEO_LOG_UNINSTALL_PHPBB_SEO_FAIL' => '<strong>phpBB SEO mod rewrite uninstall attempts failed</strong>',
   'SEO_LOG_CONFIG_SETTINGS' => '<strong>Altered phpBB SEO Class settings</strong>',
   'SEO_LOG_CONFIG_FORUM_URL' => '<strong>Altered Forum URLs</strong>',
   'SEO_LOG_CONFIG_HTACCESS' => '<strong>Generated new .htaccess</strong>',
));
// www.phpBB-SEO.com SEO TOOLKIT END


Some more changes are to be found in language/en/install.php and language/en/help_bbcode.php but they are a bit less important (mostly cosmetic).
I don't have the full list, you should not have trouble to find them (using winmerge for example) if you want the perfect language pack Wink

_________________
phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible !
Back to top
DR_GIGGULS



Joined: 17 Feb 2008
Posts: 2

Bulgarian languagePosted: Sun Feb 17, 2008 6:37 pm    Post subject: Re: Bulgarian language

Thank you!
So, you mean that there are commented // www.phpBB-SEO.com SEO TOOLKIT BEGIN lines where the different part starts?
Can you give me some more information on WinMerge? I haven't used it.
Back to top
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3477

Bulgarian languagePosted: Tue Feb 19, 2008 9:50 am    Post subject: Re: Bulgarian language

Unfortunately no.

WinMerge is just a GPL text editor with file and dir comparison abilities.
With it you could easily compare the vanilla language pack and the premod ones to figure out directly which files where edited and to find where.

As said, these extra changes are not crucial, more cosmetic, so it's not a very big deal, but since it's not this hard to compare file, you could still translate them too if you wish.

Once you'll be done, and if you're willing to, we could think about adding your translation in the releases.

_________________
phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible !
Back to top
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 SEO TooLKit  » phpBB SEO Premod
Page 1 of 1

Navigation Similar Topics

Jump to: