| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
ASLAN PR0

Joined: 19 Nov 2007 Posts: 58 Location: Chile
|
Posted: Sun May 25, 2008 9:27 pm Post subject: Some translations to Spanish |
|
|
Where should I edit to translate the next:
Original SEO URL
-http://www.mydomain.com/member/ASLAN/topics/
After edit phpbb_seo/phpbb_seo_class.php look like this
-http://www.mydomain.com/miembro/ASLAN/topics/
Where should I edit to convert "topics" to "temas" ???
I also add this code to phpbb_seo/phpbb_seo_class.php
| Code: | // Especial para Español
if ( strpos($config['default_lang'], 'es') !== false ) {
$this->seo_static['forum'] = 'foros';
$this->seo_static['topic'] = 'tema';
$this->seo_static['post'] = 'mensaje';
$this->seo_static['user'] = 'miembro';
$this->seo_static['group'] = 'grupo';
$this->seo_static['index'] = 'foros';
$this->seo_static['global_announce'] = 'anuncios';
$this->seo_static['leaders'] = 'el-equipo';
$this->seo_static['atopic'] = 'temas-activos';
$this->seo_static['utopic'] = 'temas-sin-respuesta';
$this->seo_static['npost'] = 'nuevos-mensajes';
$this->seo_static['pagination'] = 'pagina';
} |
I also want to change these URLs
from: -http://www.mydomain.com/administrators-g847.html
to: -http://www.mydomain.com/administradores-g847.html
from: -http://www.mydomain.com/global-moderators-g846.html
to: -http://www.mydomain.com/moderadores-g846.html
What should I do ???
Thanks |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14327
|
Posted: Sat May 31, 2008 1:43 pm Post subject: Re: Some translations to Spanish |
|
|
It's better to do as advised in the install file :
| Quote: | => The first setting to do is to select which static part to use in your URLs.
To do so, you can modify this line in phpbb_seo/phpbb_seo_class.php :
$this->seo_static = array( 'forum' => 'forum', 'topic' => 'topic', 'post' => 'post', 'user' => 'member', 'group' => 'group', 'index' => '', 'global_announce' => 'announces', 'leaders' => 'the-team', 'atopic' => 'active-topics', 'utopic' => 'unanswered', 'npost' => 'newposts', 'pagination' => 'page', 'gz_ext' => '.gz' );
=> the-team :
'leaders' => 'the-team'
=> announces :
'global_announce' => 'announces'
=> Active topics :
'atopic' => 'active-topics'
=> Unaswered :
'utopic' => 'unanswered'
=> Newposts :
'npost' => 'newposts'
=> As well as forum ('forum' => 'forum'), topic ('topic' => 'topic'), post ('post' => 'post'),
member ('user' => 'member'), groups ('group' => 'group') and virtual folder pagination ('pagination' => 'page')
=> And the suffixes, if you do not like .html :
$this->seo_ext = array( 'forum' => '.html', 'topic' => '.html', 'post' => '.html', 'user' => '.html', 'group' => '.html', 'index' => '', 'global_announce' => '/', 'leaders' => '.html', 'atopic' => '.html', 'utopic' => '.html', 'npost' => '.html', 'pagination' => '.html', 'gz_ext' => '');
Please note that suffixes may not be ".php" or empty, if you set a suffix to "/",
it will automatically activate the pagexx.html pagination.
Once set, these settings will be taken into account while generating the .htaccess. |
 |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
ASLAN PR0

Joined: 19 Nov 2007 Posts: 58 Location: Chile
|
Posted: Sat May 31, 2008 4:40 pm Post subject: Re: Some translations to Spanish |
|
|
Thanks a lot
I will try and I let you know if it worked
Thanks again |
|
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |