Simple Machines Community Forum

SMF Support => Português (Portuguese) => Language Specific Support => Arquivo => Topic started by: bruno.cunha on September 13, 2007, 12:53:08 PM

Title: Alterar lingua num theme
Post by: bruno.cunha on September 13, 2007, 12:53:08 PM
Viva

fiz a instalação do smf 113 pt, entretanto instalei um theme (Silvanost Orange). Aparece ainda algumas expressões em inglês.O que tenho que fazer para ficar tudo em portuguê?
Title: Re: Alterar lingua num theme
Post by: Apllicmz on September 13, 2007, 01:12:19 PM
Ja verificou se aonde tem teu tema esta quantas línguas tem
se nao tera que criar php em Pt
Title: Re: Alterar lingua num theme
Post by: bruno.cunha on September 13, 2007, 01:15:27 PM
Na dir language coloquei index.portuguese.php e o settings.portuguese.php e mesmo assim ainda aparecem expressões em inglês. Se calhar falta alterar mais alguma coisa noutr local
Title: Re: Alterar lingua num theme
Post by: Apllicmz on September 13, 2007, 01:32:08 PM
Vou baixar o tema e fazer um texte da me 20 min
ou manda me o link
Title: Re: Alterar lingua num theme
Post by: bruno.cunha on September 13, 2007, 03:30:39 PM
Aqui está o link http://custom.simplemachines.org/themes/index.php?lemma=269 (http://custom.simplemachines.org/themes/index.php?lemma=269)
Title: Re: Alterar lingua num theme
Post by: margarett on September 13, 2007, 06:54:45 PM
Há temas que têm o texto no código. O que eu uso era assim... Nesses casos só editando o código.
Title: Re: Alterar lingua num theme
Post by: bruno.cunha on September 14, 2007, 11:06:00 AM
OK, não me importo de alterar, só preciso de saber é onde.

Obrigado
Title: Re: Alterar lingua num theme
Post by: margarett on September 14, 2007, 11:28:45 AM
Tira um printscreen e assinala os textos que precisas de modificar.
Title: Re: Alterar lingua num theme
Post by: bruno.cunha on September 14, 2007, 12:15:24 PM
Ok, aqui vai então a imagem

Obrigado
Title: Re: Alterar lingua num theme
Post by: margarett on September 14, 2007, 02:02:52 PM
index.template.php

<div class="Warn-guest">Welcome Guest, please <a href="', $scripturl, '?action=login">login</a> or <a href="', $scripturl, '?action=register">register</a>.</div>';

<strong>Welcome back, ', $context['user']['name'] , '.</strong>';

<span class="smalltext"><a href="', $scripturl, '?action=profile">User CP</a></span>&nbsp;-&nbsp;<span class="smalltext"><a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a></span>)';

<span class="smalltext"><a href="', $scripturl, '?action=unread">View New Posts</a></span>&nbsp;|&nbsp;<span class="smalltext"><a href="', $scripturl, '?action=unreadreplies">View New Replies</a></span>';


BoardIndex.template.php

<td width="45"><img src="' . $settings['images_url'] . '/off.gif" alt="" /></td><td align="left" valign="middle" style="padding-left:4px;">No New Posts</td>
<td width="45"><img src="' . $settings['images_url'] . '/on.gif" alt="" /></td><td align="left" valign="middle" style="padding-left:4px;">New Posts in Board</td>
<td width="45"><img src="' . $settings['images_url'] . '/on2.gif" alt="" /></td><td align="left" valign="middle" style="padding-left:4px;">New Posts in Child Board</td>
<td width="45"><img src="' . $settings['images_url'] . '/on3.gif" alt="" /></td><td align="left" valign="middle" style="padding-left:4px;">New Posts in Both</td>


Encontras o texto em EN e editas directamente pelo PT ;D
Title: Re: Alterar lingua num theme
Post by: bruno.cunha on September 14, 2007, 03:23:44 PM
Excelente, muito obrigado :D
Title: Re: Alterar lingua num theme
Post by: bruno.cunha on September 17, 2007, 04:44:07 AM
Já alterei. Muito obrigado pela ajuda :D