Bem-vindo(a) ao PORTAL X-TRAD
PORTAL X-TRAD  
Horários baseados na GMT -2. Agora são 11:02 PM.
Antigo 22-04-2006, 12:45 PM
X-TRAD
 
Avatar de Coyote
 
Registrado em: Apr 2006
Localização: Cabo Frio/RJ
Postagens: 584
Thanks: 0
Thanked 5 Times in 4 Posts
Reputação: 3 @ 56
Coyote will become famous soon enough
Enviar mensagem via Windows Live Messenger para Coyote
Wink Criando uma nova tradução

Aqui vamos colocar [para revisão] os arquivos de linguagem do módulo zencart 1.3 para xoops
A intenção é, depois de feitos os devidos créditos, enviar para o site www.zen-cart.com

Coloco abaixo a wiki do zencart, para nortear os trabalhos:

Creating a new translation

The following files and directories with subdirectories should all be included in the language pack, whether they're translated or not
  • includes/languages/<your language>.php
  • includes/languages/<your language>/
  • admin/includes/languages/<your language>.php
  • admin/includes/languages/<your language>/
  • includes/templates/template_default/buttons/<your language>/
All paths should be included in the package as shown above in order to make it easy to extract onto a server without the need to move files or directories around.

Additionally but not required, there's the SQL file
install/mysql_zencart.sql which contains text that will appear on certain admin pages. This means that the admin area isn't 100% multi-lingual, but this will most likely be dealt with in a future version of Zen Cart.

You should also include a file named README.txt where you say something about what has been translated and what has not, along with any other information you feel is appropriate.


setlocale()
As the minimum required version for PHP now is 4.3, we can specify multiple locales for setlocale():setlocale(LC_TIME,
'english',
'en_US',
'en_US.iso_8859-1',
'en_US.ISO_8859-1',
'en_US.utf-8',
'en_US.UTF-8'
);
It makes it easier for users if they don't have to know the correct locale themselves, and we can guess it for them by editing the call to setlocale() in the following files to use the above code:
  • includes/languages/<your language>.php
  • admin/includes/languages/<your language>.php



==============
Em tempo: Por favor nas sugestões indiquem a LINHA a ser corrigida ou adicionada a tradução. Obrigado

Marco
Coyote está offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Tópico Trancado

Favoritos



Usuários ativos no Tópico: 1 (0 Membros e 1 Visitantes)
 
Ferramentas do Tópico
Modos de Exibição

Regras para Postagens
Você não pode postar novos tópicos
Você não pode postar respostas
Você não pode postar anexos
Você não pode editar seus posts

Código [IMG] Sim
Código HTML Não
Trackbacks are Sim
Pingbacks are Sim
Refbacks are Sim

Tópicos Similares
Tópico Tópico Iniciado Por Fórum Respostas Última Mensagem
Tradução vBulletin 3.5.4 - PTBR MaurícioSB Dia a Dia da Tradução 1 24-07-2006 05:45 AM
Nova Dinâmica de Trabalho beduino Organização, Sugestões e Pedidos - Leia! 0 20-05-2006 04:33 PM


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179