News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Erro ao traduzir novos templates

Started by TinKode, May 28, 2016, 05:52:18 PM

Previous topic - Next topic

TinKode

Salve meus amigos, estou tendo um probleminha, instalei um novo template, que é pré-definido do inglês.

Quando eu vou até a pasta languages/ThemeStrings.english.php

Este é o código original do arquivo.

<?php
$txt
['sh_copy_own'] = 'Enter your own copyrights';
$txt['sh_copy_own_desc'] = 'HTML allowed';

$txt['sh_desc_own'] = 'Add your own description';
$txt['sh_desc_own_desc'] = 'Here you can add your own description in the index of the forum';
$txt['sh_desc_own_default'] = 'Add your own description in your admin center';

$txt['sh_sticky_topic'] = 'Sticky Topics';
$txt['sh_normal_topic'] = 'Normal Topics';

$txt['facebook_username'] = 'Facebook username';
$txt['twitter_username'] = 'Twitter username';
$txt['youtube_username'] = 'Youtube username';
$txt['rss_url'] = 'RSS URL';
$txt['sh_social_desc'] = 'Write the username or the id to show the button link in the footer.';

$txt['sh_cbox'] = 'Custom Box';
$txt['sh_cbox_enable'] = 'Enable Custom Box';
$txt['sh_cbox_desc'] = 'With this, you\'ll have the possibility to put a custom box in your info center.';
$txt['sh_cbox_t'] = 'Custom Box Title';
$txt['sh_cbox_cont'] = 'Custom Box Content';
$txt['sh_cbox_cont_desc'] = 'HTML allowed';
$txt['sh_cbox_cont_default'] = 'You can add your own content in Custom Box settings';

$txt['separate_sticky_locked'] = 'Separate sticky topics';
$txt['separate_sticky_locked_desc'] = 'With this, you can separate the sticky topics and your normal topics';

$txt['link_top'] = 'The title of your link';
$txt['link_top_desc'] = 'This links appears above your forum, in the top bar.';
$txt['link_top_url'] = 'The url of your title';
$txt['link_top1'] = 'Link 1';
$txt['link_top2'] = 'Link 2';
$txt['link_top3'] = 'Link 3';
$txt['link_top4'] = 'Link 4';
$txt['link_top5'] = 'Link 5';

$txt['sh_any_com'] = 'There are no comments for this topic. Do you want to be the first?';
$txt['sh_topic_locked'] = 'Sorry, this topic is locked. Only admins and moderators can reply.';

$txt['sh_custcontent_below'] = 'Custom Content';
$txt['sh_custcontent_below_desc'] = 'Here you\'ll be able to add custom content below the login box';

$txt['board_lastpost_stats'] = 'Display bar with board, stats, last post, etc below the category name';

$txt['enable_topbar'] = 'Enable the to bar to use the custom links';

$txt['sh_allow_color_change'] = 'Allow the user to change the theme color in the "main box"?';

$txt['sh_variant_icons'] = 'Enable board icons per variant';
$txt['sh_variant_icons_desc'] = 'If you enable this, you\'ll be able to use different board icons per color variant in the images folder. If is <strong>not</strong> enabled, you\'ll only need to change the default on, on2, off and redirect icons.';

?>



Se eu traduzo as frases para português, quando tem acentos,etc... ele fica deste jeito após a tradução.
Desculpe, este tópico está bloqueado. Apenas os administradores e moderadores podem responder.

Viram que as letras ficam "bugadas" o tema original em sí, não tem problema nenhum na tradução, é apenas quando instalo novos templates e vou traduzir algumas frases em inglês, como posso resolver este problema?

Apllicmz

Bem vou resumir todas as palavras que tem acento veja qual e o código que tem que colocar


http://www.lsi.usp.br/~help/html/iso.html



Advertisement: