Index: trunk/expressoMail1_2/setup/language.xsl
===================================================================
--- trunk/expressoMail1_2/setup/language.xsl	(revision 1503)
+++ trunk/expressoMail1_2/setup/language.xsl	(revision 1503)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+	<xsl:output method="text"
+		omit-xml-declaration="yes"
+		encoding="UTF-8"
+		indent="no" />
+
+	<xsl:template match="/dictionary/entry">
+		<xsl:variable name="small" select="'abcdefghijklmnopqrstuvwxyzÃ€Ã¶ÃŒÃšÃ©'"/>
+		<xsl:variable name="CAPS" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZÃÃÃÃÃ'"/>
+		array_lang['<xsl:value-of select="translate(translate(key, &quot;&#xA;'&quot;, &quot;&#xA;\'&quot;),$CAPS,$small)" />'] = '<xsl:value-of select="translate(translation, &quot;&#xA;'&quot;, &quot;&#xA;\'&quot;)" />';
+	</xsl:template>
+
+</xsl:stylesheet>
Index: trunk/expressoMail1_2/setup/phpgw_pt-br.xml
===================================================================
--- trunk/expressoMail1_2/setup/phpgw_pt-br.xml	(revision 1503)
+++ trunk/expressoMail1_2/setup/phpgw_pt-br.xml	(revision 1503)
@@ -0,0 +1,2139 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<dictionary>
+	<entry>
+		<key>1 Day</key>
+		<translation>1 Dia</translation>
+	</entry>
+	<entry>
+		<key>2 Days</key>
+		<translation>2 Dias</translation>
+	</entry>
+	<entry>
+		<key>3 Days</key>
+		<translation>3 Dias</translation>
+	</entry>
+	<entry>
+		<key>4 Days</key>
+		<translation>4 Dias</translation>
+	</entry>
+	<entry>
+		<key>5 Day</key>
+		<translation>5 Dias</translation>
+	</entry>
+	<entry>
+		<key>5 Days</key>
+		<translation>5 Dias</translation>
+	</entry>
+	<entry>
+		<key>Calling extension: </key>
+		<translation>Chamando Ramal:</translation>
+	</entry>
+	<entry>
+		<key>The extension %1 is incorrect.</key>
+		<translation>O ramal %1 está incorretamente cadastrado.</translation>
+	</entry>
+	<entry>
+		<key>you extension number is incorect</key>
+		<translation>O seu ramal está incorretamente cadastrado.</translation>
+	</entry>
+	<entry>
+		<key>Access right</key>
+		<translation>Direitos de acesso</translation>
+	</entry>
+	<entry>
+		<key>Action</key>
+		<translation>Ação</translation>
+	</entry>
+	<entry>
+		<key>Add BCC</key>
+		<translation>Adicionar CCo</translation>
+	</entry>
+	<entry>
+		<key>Add CC</key>
+		<translation>Adicionar CC</translation>
+	</entry>
+	<entry>
+		<key>Add Contact</key>
+		<translation>Adicionar Contato</translation>
+	</entry>
+	<entry>
+		<key>Add user into my IM</key>
+		<translation>Adicionar no meu IM</translation>
+	</entry>
+	<entry>
+		<key>all</key>
+		<translation>Todas</translation>
+	</entry>
+	<entry>
+		<key>Also check message against next rule</key>
+		<translation>Checar mensagem contra próxima regra também</translation>
+	</entry>
+	<entry>
+		<key>Always sign message digitally?</key>
+		<translation>Sempre assinar digitalmente a mensagem?</translation>
+	</entry>
+	<entry>
+		<key>Always cipher message digitally?</key>
+		<translation>Sempre cifrar digitalmente a mensagem?</translation>
+	</entry>
+	<entry>
+		<key>Archive</key>
+		<translation>Arquivar</translation>
+	</entry>
+	<entry>
+		<key>At least one of selected message cant be marked as normal</key>
+		<translation>Pelo menos uma das mensagens selecionadas não pode ser marcada como normal</translation>
+	</entry>
+	<entry>
+		<key>At least one message have the same origin</key>
+		<translation>Pelo menos uma das mensagens está sendo movida para a mesma pasta</translation>
+	</entry>
+	<entry>
+		<key>Attachments removed</key>
+		<translation>Anexos removidos com sucesso.</translation>
+	</entry>
+	<entry>
+		<key>at least, one of selected mails is already archived, expresso tried to archive the others, check them later</key>
+		<translation>Pelo menos uma das mensagens selecionadas já foi arquivada anteriormente, o expresso tentou arquivar as outras, verifique-as mais tarde.</translation>
+	</entry>
+	<entry>
+		<key>There is not %1 folder, Expresso is creating it for you... Please, repeat your request later.</key>
+		<translation>Pasta %1 inexistente, Expresso criará para você. Contudo por favor repita a operação em seguida.</translation>
+	</entry>
+	<entry>
+		<key>and</key>
+		<translation>e</translation>
+	</entry>
+	<entry>
+		<key>and save in</key>
+		<translation>e arquivar em</translation>
+	</entry>
+	<entry>
+		<key>Answered</key>
+		<translation>Respondida</translation>
+	</entry>
+	<entry>
+		<key>l_answered</key>
+		<translation>Respondidas</translation>
+	</entry>
+	<entry>
+		<key>Answer messages from</key>
+		<translation>responder mensagens de</translation>
+	</entry>
+	<entry>
+		<key>A read confirmation was sent.</key>
+		<translation>Uma confirmação de leitura foi enviada.</translation>
+	</entry>
+	<entry>
+		<key>Message with read notification</key>
+		<translation>Mensagem com confirmação de leitura.</translation>
+	</entry>
+	<entry>
+		<key>reliable domains</key>
+		<translation>Domínios confiáveis (pode usar a hierarquia DNS, ex:. pr.gov.br)</translation>
+	</entry>
+	<entry>
+		<key>The sender:\n%1\nwaits your notification of reading. Do you want to confirm this?</key>
+		<translation>O remetente:\n%1\naguarda uma confirmação de leitura. Você deseja confirmar a leitura?</translation>
+	</entry>
+	<entry>
+		<key>At %1, %2 hours, %3 wrote:</key>
+		<translation>Em %1 às %2 horas, %3 escreveu:</translation>
+	</entry>
+	<entry>
+		<key>attachment</key>
+		<translation>anexo</translation>
+	</entry>
+	<entry>
+		<key>Attachments: add+</key>
+		<translation>Anexos: adicionar+</translation>
+	</entry>
+	<entry>
+		<key>Attachments: </key>
+		<translation>Anexos:</translation>
+	</entry>
+	<entry>
+		<key>authentic</key>
+		<translation>autêntica</translation>
+	</entry>
+	<entry>
+		<key>Back</key>
+		<translation>Voltar</translation>
+	</entry>
+	<entry>
+		<key>BCC</key>
+		<translation>CCO</translation>
+	</entry>
+	<entry>
+		<key>Big</key>
+		<translation>grande</translation>
+	</entry>
+	<entry>
+		<key>Block Sender</key>
+		<translation>Bloquear remetente</translation>
+	</entry>
+	<entry>
+		<key>Bold</key>
+		<translation>Negrito</translation>
+	</entry>
+	<entry>
+		<key>Border</key>
+		<translation>Borda</translation>
+	</entry>
+	<entry>
+		<key><b>Tip:</b> For faster save, click over the image with <u>right button</u>.</key>
+		<translation><b>Dica:</b> Para salvar rapidamente, clique sobre a imagem com o <u>botão direito</u> do mouse.</translation>
+	</entry>
+	<entry>
+		<key>Call to Comercial Number</key>
+		<translation>Discar para Telefone Comercial</translation>
+	</entry>
+	<entry>
+		<key>Call to Mobile Number</key>
+		<translation>Discar para Telefone Celular</translation>
+	</entry>
+	<entry>
+		<key>cancel</key>
+		<translation>Cancelar</translation>
+	</entry>
+	<entry>
+		<key>cannot create folder. try other folder name</key>
+		<translation>Erro ao criar a pasta. Certifique-se de que não tentou criá-la com um nome que contém a string \"local_\" ou que possui algum caracter especial</translation>
+	</entry>
+	<entry>
+		<key>Caracter "#" is not allowed!</key>
+		<translation>Caracter "#" não é permitido!</translation>
+	</entry>
+	<entry>
+		<key>CC</key>
+		<translation>Com Cópia</translation>
+	</entry>
+	<entry>
+		<key>CCo</key>
+		<translation>CCo</translation>
+	</entry>
+	<entry>
+		<key>REVOKED Certificate.</key>
+		<translation>CERTIFICADO REVOGADO.</translation>
+	</entry>
+	<entry>
+		<key>Certificate Authority: </key>
+		<translation>Autoridade Certificadora:</translation>
+	</entry>
+	<entry>
+		<key>Certificate email: </key>
+		<translation>Email do certificado:</translation>
+	</entry>
+	<entry>
+		<key>certificate has expired</key>
+		<translation>CERTIFICADO EXPIRADO</translation>
+	</entry>
+	<entry>
+		<key>Unarchive</key>
+		<translation>Desarquivar</translation>
+	</entry>
+	<entry>
+		<key>All messages are successfully unarchived</key>
+		<translation>Mensagens desarquivadas com sucesso</translation>
+	</entry>
+	<entry>
+		<key>Change folder</key>
+		<translation>Trocar pasta</translation>
+	</entry>
+	<entry>
+		<key>Check Spelling</key>
+		<translation>Corretor Ortográfico</translation>
+	</entry>
+	<entry>
+		<key>Choose a name</key>
+		<translation>Escolha um nome</translation>
+	</entry>
+	<entry>
+		<key>Chose the text you want transform in link before.</key>
+		<translation>Selecione o texto que deseja transformar em link.</translation>
+	</entry>
+	<entry>
+		<key>Clean</key>
+		<translation>Limpar</translation>
+	</entry>
+	<entry>
+		<key>unlimited</key>
+		<translation>Sem limite</translation>
+	</entry>
+	<entry>
+		<key>What is the maximum size of embedded images?</key>
+		<translation>Qual o tamanho máximo das imagens inseridas nos emails?</translation>
+	</entry>
+	<entry>
+		<key>Click here do view (+)</key>
+		<translation>Clique na imagem para Ampliar.</translation>
+	</entry>
+	<entry>
+		<key>Click here to add into the fields</key>
+		<translation>Clique aqui para adicionar nos campos</translation>
+	</entry>
+	<entry>
+		<key>Close</key>
+		<translation>Fechar</translation>
+	</entry>
+	<entry>
+		<key>Coincident</key>
+		<translation>Coincidente</translation>
+	</entry>
+	<entry>
+		<key>Command for spam</key>
+		<translation>Comando que será executado ao marcar como spam</translation>
+	</entry>
+	<entry>
+		<key>Command for unmark spam</key>
+		<translation>Comando que será executado ao marcar como não-spam</translation>
+	</entry>
+	<entry>
+		<key>Connection failed with %1 Server. Try later.</key>
+		<translation>Ocorreu uma falha de comunicação com o servidor de %1. Tente mais tarde.</translation>
+	</entry>
+	<entry>
+		<key>Config for expressoMail1_2</key>
+		<translation>Configurações do expressoMail1_2</translation>
+	</entry>
+	<entry>
+		<key>Config for ExpressoMail</key>
+		<translation>Configurações para o ExpressoMail</translation>
+	</entry>
+	<entry>
+		<key>Couldn't verify if certificate was revoked.(CD-01)</key>
+		<translation>A lista de certificados revogados não foi encontrada.(CD-01)</translation>
+	</entry>
+	<entry>
+		<key>Couldn't verify if certificate was revoked.(CD-02)</key>
+		<translation>Não foi possível verificar se o certificado está revogado.(CD-02)</translation>
+	</entry>
+	<entry>
+		<key>Couldn't verify if certificate was revoked.(CD-03)</key>
+		<translation>Não foi possível verificar se o certificado está revogado.(CD-03)</translation>
+	</entry>
+	<entry>
+		<key>Crypted message</key>
+		<translation>Mensagem cifrada digitalmente</translation>
+	</entry>
+	<entry>
+		<key>Cyrus IMAP Server</key>
+		<translation>Servidor de IMAP Cyrus</translation>
+	</entry>
+	<entry>
+		<key>Date: </key>
+		<translation>Data:</translation>
+	</entry>
+	<entry>
+		<key>Date</key>
+		<translation>Data</translation>
+	</entry>
+	<entry>
+		<key>day(s)</key>
+		<translation>dia(s)</translation>
+	</entry>
+	<entry>
+		<key>Rows</key>
+		<translation>Linhas</translation>
+	</entry>
+	<entry>
+		<key>Cols</key>
+		<translation>Colunas</translation>
+	</entry>
+	<entry>
+		<key>Insert Table</key>
+		<translation>Inserir tabela</translation>
+	</entry>
+	<entry>
+		<key>Image</key>
+		<translation>Imagem</translation>
+	</entry>
+	<entry>
+		<key>Table</key>
+		<translation>Tabela</translation>
+	</entry>
+	<entry>
+		<key>Select the table size</key>
+		<translation>Selecione o tamanho da tabela</translation>
+	</entry>
+	<entry>
+		<key>Dear user,\nthis is your first time in the ExpressoMail, your preferences must be saved.\nPlease, choose your preferences and click on the button Save.</key>
+		<translation>Caro usuário, \ncomo esta é a primeira vez que você esta acessando o ExpressoMail, suas preferências devem ser salvas.\n Favor escolher suas preferências e clicar no botão Salvar.</translation>
+	</entry>
+	<entry>
+		<key>Define some criterion to the fields From, To and Subject with more than 3 characters!</key>
+		<translation>Defina algum critério para os campos De, Para e Assunto com mais de 3 caracteres!</translation>
+	</entry>
+	<entry>
+		<key>Define the boxes to search!</key>
+		<translation>Defina as pastas para a busca!</translation>
+	</entry>
+	<entry>
+		<key>Define some search parameters!</key>
+		<translation>Defina alguns parâmetros para a busca!</translation>
+	</entry>
+	<entry>
+		<key>Delete</key>
+		<translation>Apagar</translation>
+	</entry>
+	<entry>
+		<key>Delete folder</key>
+		<translation>Excluir pasta</translation>
+	</entry>
+	<entry>
+		<key>Delete trash messages after how many days?</key>
+		<translation>Apagar mensagens após quantos dias na lixeira?</translation>
+	</entry>
+	<entry>
+		<key>Delete your sub-folders first</key>
+		<translation>Remova suas sub-pastas primeiro</translation>
+	</entry>
+	<entry>
+		<key>delete all attachments confirmation</key>
+		<translation>ATENÇÃO: Após a confirmação dessa mensagem, TODOS os anexos da mesma serão apagados. Tenha certeza de que possui uma cópia dos arquivos importantes. Deseja confirmar a operação?</translation>
+	</entry>
+	<entry>
+		<key>Details</key>
+		<translation>Detalhes</translation>
+	</entry>
+	<entry>
+		<key>Digitally sign message?</key>
+		<translation>Assinar digitalmente a mensagem?</translation>
+	</entry>
+	<entry>
+		<key>Digitally crypt message?</key>
+		<translation>Cifrar digitalmente a mensagem?</translation>
+	</entry>
+	<entry>
+		<key>DISABLED</key>
+		<translation>Desabilitada</translation>
+	</entry>
+	<entry>
+		<key>Disable</key>
+		<translation>Desabilitar</translation>
+	</entry>
+	<entry>
+		<key>Don\`t use</key>
+		<translation>Não use</translation>
+	</entry>
+	<entry>
+		<key>Download all atachments</key>
+		<translation>Baixar todos de uma vez</translation>
+	</entry>
+	<entry>
+		<key>Download manual</key>
+		<translation>Baixar manual</translation>
+	</entry>
+	<entry>
+		<key>Do you really want to empty your trash folder?</key>
+		<translation>Você tem certeza quem deseja apagar sua lixeira?</translation>
+	</entry>
+	<entry>
+		<key>Do you wanna receive an alert for new messages?</key>
+		<translation>Você quer receber um alerta para mensagens novas?</translation>
+	</entry>
+	<entry>
+		<key>Do you want to block this e-mail?</key>
+		<translation>Você gostaria de bloquear este e-mail?</translation>
+	</entry>
+	<entry>
+		<key>Do you want to enable expressoMail log?</key>
+		<translation>Habilitar Log do expressoMail?</translation>
+	</entry>
+	<entry>
+		<key>Do you want to cache php requests in javascript?</key>
+		<translation>Utilizar cache de requisições no javascript?</translation>
+	</entry>
+	<entry>
+		<key>Do you want to use the spam filter?</key>
+		<translation>Você gostaria de utilizar o filtro anti-spam?</translation>
+	</entry>
+	<entry>
+		<key>Do you wish to exclude the folder </key>
+		<translation>Você gostaria de excluir a pasta:</translation>
+	</entry>
+	<entry>
+		<key>Do you confirm this import to your Calendar?</key>
+		<translation>Confirma a importação para tua agenda do Expresso?</translation>
+	</entry>
+	<entry>
+		<key>Do you want to show common name instead of UID?</key>
+		<translation>Utilizar nome (CN) ao invés de login (uid) em pastas compartilhadas?</translation>
+	</entry>
+	<entry>
+		<key>Do you want to use important flag in email editor?</key>
+		<translation>Você gostaria de usar a flag de importante na edição de emails?</translation>
+	</entry>
+	<entry>
+		<key>Do you want to use remove attachments function?</key>
+		<translation>Você gostaria de usar a função de desanexar?</translation>
+	</entry>
+	<entry>
+		<key>Show images from</key>
+		<translation>Mostrar imagens de</translation>
+	</entry>
+	<entry>
+		<key>Draft</key>
+		<translation>Rascunho</translation>
+	</entry>
+	<entry>
+		<key>Drafts</key>
+		<translation>Rascunhos</translation>
+	</entry>
+	<entry>
+		<key>Drafts Folder name</key>
+		<translation>Nome da pasta rascunhos</translation>
+	</entry>
+	<entry>
+		<key>During</key>
+		<translation>Durante</translation>
+	</entry>
+	<entry>
+		<key>Edit</key>
+		<translation>Editar</translation>
+	</entry>
+	<entry>
+		<key>Edit filters</key>
+		<translation>Editar filtros</translation>
+	</entry>
+	<entry>
+		<key>Edit folders</key>
+		<translation>Editar pastas</translation>
+	</entry>
+	<entry>
+		<key>E-mail rule</key>
+		<translation>regra do email</translation>
+	</entry>
+	<entry>
+		<key>Emails of the account</key>
+		<translation>Emails da conta</translation>
+	</entry>
+	<entry>
+		<key>Empty Trash</key>
+		<translation>Limpar lixeira</translation>
+	</entry>
+	<entry>
+		<key>ENABLED</key>
+		<translation>Habilitada</translation>
+	</entry>
+	<entry>
+		<key>Enable</key>
+		<translation>Habilitar</translation>
+	</entry>
+	<entry>
+		<key>Enable digitally sign/cipher the message?</key>
+		<translation>Possibilitar assinar/cifrar digitalmente a mensagem?</translation>
+	</entry>
+	<entry>
+		<key>Enable Quick Reply</key>
+		<translation>Responder rápido (com histórico e ao remetente)</translation>
+	</entry>
+	<entry>
+		<key>Enter a name for the box</key>
+		<translation>Entre com um nome para a caixa</translation>
+	</entry>
+	<entry>
+		<key>Enter the name of the new folder:</key>
+		<translation>Insira o nome da nova pasta:</translation>
+	</entry>
+	<entry>
+		<key>Enter with link URL:</key>
+		<translation>Entre com a URL do link:</translation>
+	</entry>
+	<entry>
+		<key>Erase Folder</key>
+		<translation>Apagar Pasta</translation>
+	</entry>
+	<entry>
+		<key>Erase the message</key>
+		<translation>Apague a mensagem</translation>
+	</entry>
+	<entry>
+		<key>Error compressing messages (ZIP). Contact the administrator.</key>
+		<translation>Erro ao comprimir as mensagens (ZIP)! Contacte o administrador.</translation>
+	</entry>
+	<entry>
+		<key>Error in SMTP sending read confirmation.</key>
+		<translation>Erro no SMTP ao enviar uma confirmação de leitura.</translation>
+	</entry>
+	<entry>
+		<key>Error moving message.</key>
+		<translation>Erro ao mover mensagem.</translation>
+	</entry>
+	<entry>
+		<key>Error moving or delete message: Message too large. Select one message by one.</key>
+		<translation>Erro ao mover ou deletar mensagem: Mensagem muito grande. Selecione uma por vez.</translation>
+	</entry>
+	<entry>
+		<key>error appending mail on delete attachments</key>
+		<translation>Ocorreu um erro ao criar uma nova mensagem na operação de remoção de anexos.</translation>
+	</entry>
+	<entry>
+		<key>#error:21075075:PKCS7 routines:PKCS7_verify:certificate verify error</key>
+		<translation>Erro ao verificar o certificado mensagem.</translation>
+	</entry>
+	<entry>
+		<key>error:21075069:PKCS7 routines:PKCS7_verify:signature failure</key>
+		<translation>Mensagem com provável violação de assinatura.</translation>
+	</entry>
+	<entry>
+		<key>error:21071065:PKCS7 routines:PKCS7_signatureVerify:digest failure</key>
+		<translation>Mensagem com provável violação de conteúdo.</translation>
+	</entry>
+	<entry>
+		<key>error:21071065:PKCS7 routines:func(113):reason(101)</key>
+		<translation>Mensagem com provável violação de conteúdo.</translation>
+	</entry>
+	<entry>
+		<key>error:21075069:PKCS7 routines:func(117):reason(105)</key>
+		<translation>Mensagem com provável violação de assinatura.</translation>
+	</entry>
+	<entry>
+		<key>Exclusion</key>
+		<translation>Exclusão</translation>
+	</entry>
+	<entry>
+		<key>Yes</key>
+		<translation>Sim</translation>
+	</entry>
+	<entry>
+		<key>No</key>
+		<translation>Não</translation>
+	</entry>
+	<entry>
+		<key>Question</key>
+		<translation>Pergunta</translation>
+	</entry>
+	<entry>
+		<key>Export</key>
+		<translation>Exportar</translation>
+	</entry>
+	<entry>
+		<key>Export messages</key>
+		<translation>Exportar mensagens</translation>
+	</entry>
+	<entry>
+		<key>ExpressoMail Configuration</key>
+		<translation>Configurações do expressoMail</translation>
+	</entry>
+	<entry>
+		<key>expressoMail1_2</key>
+		<translation>Expresso Mail</translation>
+	</entry>
+	<entry>
+		<key>ExpressoMail settings</key>
+		<translation>Configurações do ExpressoMail</translation>
+	</entry>
+	<entry>
+		<key>fail in import:</key>
+		<translation>Falha ao importar:</translation>
+	</entry>
+	<entry>
+		<key>File extension forbidden or invalid file</key>
+		<translation>Extensão de arquivo proibido ou arquivo inválido</translation>
+	</entry>
+	<entry>
+		<key>files</key>
+		<translation>arquivos</translation>
+	</entry>
+	<entry>
+		<key>Filters</key>
+		<translation>Filtros</translation>
+	</entry>
+	<entry>
+		<key>Filters maintenance</key>
+		<translation>Manutenção de Filtros</translation>
+	</entry>
+	<entry>
+		<key>Filters management</key>
+		<translation>Gerenciamento de filtros</translation>
+	</entry>
+	<entry>
+		<key>First</key>
+		<translation>Primeira</translation>
+	</entry>
+	<entry>
+		<key>First Name</key>
+		<translation>Primeiro Nome</translation>
+	</entry>
+	<entry>
+		<key>Folder</key>
+		<translation>Pasta</translation>
+	</entry>
+	<entry>
+		<key>Folder Management</key>
+		<translation>Gerênciamento de Pastas</translation>
+	</entry>
+	<entry>
+		<key>Folders</key>
+		<translation>Pastas</translation>
+	</entry>
+	<entry>
+		<key>Font</key>
+		<translation>Fonte</translation>
+	</entry>
+	<entry>
+		<key>forecolor</key>
+		<translation>Cor do texto</translation>
+	</entry>
+	<entry>
+		<key>Forwarded</key>
+		<translation>Encaminhada</translation>
+	</entry>
+	<entry>
+		<key>Forwarded message</key>
+		<translation>Mensagem encaminhada</translation>
+	</entry>
+	<entry>
+		<key>Forward</key>
+		<translation>Encaminhar</translation>
+	</entry>
+	<entry>
+		<key>Forward to the address</key>
+		<translation>Encaminhe para o endereço</translation>
+	</entry>
+	<entry>
+		<key>From: </key>
+		<translation>De:</translation>
+	</entry>
+	<entry>
+		<key>From</key>
+		<translation>Remetente</translation>
+	</entry>
+	<entry>
+		<key>Global Catalog</key>
+		<translation>Catálogo Geral</translation>
+	</entry>
+	<entry>
+		<key>Go back</key>
+		<translation>Voltar</translation>
+	</entry>
+	<entry>
+		<key>greater than</key>
+		<translation>Maior que</translation>
+	</entry>
+	<entry>
+		<key>Groups</key>
+		<translation>Grupos</translation>
+	</entry>
+	<entry>
+		<key>Hide menu folders?</key>
+		<translation>Ocultar menu das pastas?</translation>
+	</entry>
+	<entry>
+		<key>Would you like to use local messages?</key>
+		<translation>Você gostaria de usar mensagens locais?</translation>
+	</entry>
+	<entry>
+		<key>Would you like to keep archived messages?</key>
+		<translation>Você gostaria de manter as mensagens arquivadas?</translation>
+	</entry>
+	<entry>
+		<key>Hide options</key>
+		<translation>Ocultar opções</translation>
+	</entry>
+	<entry>
+		<key>Hide Search</key>
+		<translation>Ocultar Pesquisa</translation>
+	</entry>
+	<entry>
+		<key>hlp_msg_addcreate_acl</key>
+		<translation>Outros usuários poderão CRIAR/ADICIONAR novas mensagens</translation>
+	</entry>
+	<entry>
+		<key>hlp_msg_delmov_acl</key>
+		<translation>Outros usuários poderão APAGAR/MOVER suas mensagens</translation>
+	</entry>
+	<entry>
+		<key>hlp_msg_read_acl</key>
+		<translation>Outros usuários poderão LER suas mensagens</translation>
+	</entry>
+	<entry>
+		<key>hlp_msg_sendlike_acl</key>
+		<translation>Outros usuários poderão ENVIAR mensagens como sendo você</translation>
+	</entry>
+	<entry>
+		<key>hours ago</key>
+		<translation>horas atrás</translation>
+	</entry>
+	<entry>
+		<key>Imap Folders Properties</key>
+		<translation>Propriedades das pastas IMAP</translation>
+	</entry>
+	<entry>
+		<key>Important</key>
+		<translation>Importante</translation>
+	</entry>
+	<entry>
+		<key>Import</key>
+		<translation>Importar</translation>
+	</entry>
+	<entry>
+		<key>Import to calendar</key>
+		<translation>Importar para agenda</translation>
+	</entry>
+	<entry>
+		<key>Import emails</key>
+		<translation>Importar e-mails</translation>
+	</entry>
+	<entry>
+		<key>Important message</key>
+		<translation>Mensagem importante</translation>
+	</entry>
+	<entry>
+		<key>l_important</key>
+		<translation>Importantes</translation>
+	</entry>
+	<entry>
+		<key>In all the folders</key>
+		<translation>Em todas as pastas</translation>
+	</entry>
+	<entry>
+		<key>Inbox</key>
+		<translation>Caixa de Entrada</translation>
+	</entry>
+	<entry>
+		<key>indent</key>
+		<translation>Tabulação a esquerda</translation>
+	</entry>
+	<entry>
+		<key>Inform a forwarding e-mail!</key>
+		<translation>Informe um email de encaminhamento!</translation>
+	</entry>
+	<entry>
+		<key>Inform a message</key>
+		<translation>Informe uma mensagem!</translation>
+	</entry>
+	<entry>
+		<key>Inform a text for rejection!</key>
+		<translation>Informe um texto para rejeição!</translation>
+	</entry>
+	<entry>
+		<key>Inform a valid e-mail!</key>
+		<translation>Informe um email válido!</translation>
+	</entry>
+	<entry>
+		<key>Inform between 1 and 31!</key>
+		<translation>Informe entre 1 e 31!</translation>
+	</entry>
+	<entry>
+		<key>Inform the days!</key>
+		<translation>Informe os dias!</translation>
+	</entry>
+	<entry>
+		<key>Inform the forwarding e-mail(s)</key>
+		<translation>Informe email(s) para encaminhamento!</translation>
+	</entry>
+	<entry>
+		<key>Inform your search in the text fields</key>
+		<translation>Informe as buscas nas caixas de texto</translation>
+	</entry>
+	<entry>
+		<key>insertorderedlist</key>
+		<translation>Inserir em lista ordenada</translation>
+	</entry>
+	<entry>
+		<key>Insert signature</key>
+		<translation>Inserir assinatura</translation>
+	</entry>
+	<entry>
+		<key>Insert signature automatically in new messages?</key>
+		<translation>Inserir assinatura automaticamente em novas mensagens?</translation>
+	</entry>
+	<entry>
+		<key>insertunorderedlist</key>
+		<translation>Inserir em lista não ordenada</translation>
+	</entry>
+	<entry>
+		<key>Invalid signature</key>
+		<translation>Erro indeterminado: Não foi possível validar a assinatura digital da mensagem.</translation>
+	</entry>
+	<entry>
+		<key>in this message</key>
+		<translation>na mensagem</translation>
+	</entry>
+	<entry>
+		<key>italic</key>
+		<translation>Italico</translation>
+	</entry>
+	<entry>
+		<key>The %1 folder is not created. It is necessary to finish your request.</key>
+		<translation>Sua pasta \"%1\" não está criada. É necessário criá-la para que funcione corretamente.</translation>
+	</entry>
+	<entry>
+		<key>ERROR saving your message. </key>
+		<translation>Ocorreu um ERRO ao salvar sua mensagem.</translation>
+	</entry>
+	<entry>
+		<key>It's not possible create inside: </key>
+		<translation>Não é possivel criar dentro de:</translation>
+	</entry>
+	<entry>
+		<key>It's not possible delete the folder: </key>
+		<translation>Não é possível remover a pasta:</translation>
+	</entry>
+	<entry>
+		<key>It's not possible rename the folder: </key>
+		<translation>Não é possível renomear a pasta:</translation>
+	</entry>
+	<entry>
+		<key>It's not possible remove this folder, because it is being used in the moment!</key>
+		<translation>Não é possível remover esta pasta, pois estão em uso no momento!</translation>
+	</entry>
+	<entry>
+		<key>It's not possible rename this folder, because it is being used in the moment!</key>
+		<translation>Não é possivel renomear esta pasta, pois está em uso no momento!</translation>
+	</entry>
+	<entry>
+		<key>It's not possible delete this folder, because it is being used in the moment!</key>
+		<translation>Não é possivel remover esta pasta, pois está em uso no momento!</translation>
+	</entry>
+	<entry>
+		<key>It's not possible rename this folder!</key>
+		<translation>Não é possível renomear esta pasta!</translation>
+	</entry>
+	<entry>
+		<key>justifycenter</key>
+		<translation>Centralizado</translation>
+	</entry>
+	<entry>
+		<key>justifyfull</key>
+		<translation>Justificar</translation>
+	</entry>
+	<entry>
+		<key>justifyleft</key>
+		<translation>A esquerda</translation>
+	</entry>
+	<entry>
+		<key>justifyright</key>
+		<translation>A direita</translation>
+	</entry>
+	<entry>
+		<key>Keep a copy of the message at your Inbox</key>
+		<translation>Manter um cópia da mensagem na sua Caixa de Entrada</translation>
+	</entry>
+	<entry>
+		<key>Last</key>
+		<translation>Última</translation>
+	</entry>
+	<entry>
+		<key>Last Name</key>
+		<translation>Último Nome</translation>
+	</entry>
+	<entry>
+		<key>Less</key>
+		<translation>Menos</translation>
+	</entry>
+	<entry>
+		<key>Less than</key>
+		<translation>Menor que</translation>
+	</entry>
+	<entry>
+		<key>Link</key>
+		<translation>Link</translation>
+	</entry>
+	<entry>
+		<key>List All</key>
+		<translation>Listar Tudo</translation>
+	</entry>
+	<entry>
+		<key>List Catalog</key>
+		<translation>Listar Catálogo</translation>
+	</entry>
+	<entry>
+		<key>List</key>
+		<translation>Listar</translation>
+	</entry>
+	<entry>
+		<key>list of the filters</key>
+		<translation>Lista de filtros</translation>
+	</entry>
+	<entry>
+		<key>local messages</key>
+		<translation>Mensagens locais</translation>
+	</entry>
+	<entry>
+		<key>local folders</key>
+		<translation>Pastas locais</translation>
+	</entry>
+	<entry>
+		<key>Loading</key>
+		<translation>Carregando</translation>
+	</entry>
+	<entry>
+		<key>Mail</key>
+		<translation>Correio</translation>
+	</entry>
+	<entry>
+		<key>Mailbox Sharing</key>
+		<translation>Compartilhamento de Caixa Postal</translation>
+	</entry>
+	<entry>
+		<key>Mailbox already exists</key>
+		<translation>Pasta já existe</translation>
+	</entry>
+	<entry>
+		<key>Mail from: </key>
+		<translation>Email proveniente de:</translation>
+	</entry>
+	<entry>
+		<key>Manager your folders and export messages</key>
+		<translation>Gerencie suas pastas e exporte mensagens</translation>
+	</entry>
+	<entry>
+		<key>Mark as</key>
+		<translation>Marcar como</translation>
+	</entry>
+	<entry>
+		<key>Mark as Spam</key>
+		<translation>Marcar como Spam</translation>
+	</entry>
+	<entry>
+		<key>Max size</key>
+		<translation>Tamanho máximo</translation>
+	</entry>
+	<entry>
+		<key>Medium</key>
+		<translation>Médio</translation>
+	</entry>
+	<entry>
+		<key>Message body</key>
+		<translation>Corpo da mensagem</translation>
+	</entry>
+	<entry>
+		<key>Message date: </key>
+		<translation>Data da mensagem:</translation>
+	</entry>
+	<entry>
+		<key>message</key>
+		<translation>mensagem</translation>
+	</entry>
+	<entry>
+		<key>Message Font</key>
+		<translation>Fonte da Mensagem</translation>
+	</entry>
+	<entry>
+		<key>Message Header</key>
+		<translation>Cabeçalho da Mensagem</translation>
+	</entry>
+	<entry>
+		<key>Message marked as </key>
+		<translation>Mensagem marcada como</translation>
+	</entry>
+	<entry>
+		<key>Message signed by: </key>
+		<translation>Mensagem assinada por:</translation>
+	</entry>
+	<entry>
+		<key>Message untouched</key>
+		<translation>Mensagem Íntegra</translation>
+	</entry>
+	<entry>
+		<key>message(s) deleted from your trash folder.</key>
+		<translation>mensagem(s) deletada(s) da sua Lixeira.</translation>
+	</entry>
+	<entry>
+		<key>messages</key>
+		<translation>mensagens</translation>
+	</entry>
+	<entry>
+		<key>messages found in folder:</key>
+		<translation>mensagens encontradas na pasta:</translation>
+	</entry>
+	<entry>
+		<key>The import was executed successfully.</key>
+		<translation>A importação foi executada com sucesso.</translation>
+	</entry>
+	<entry>
+		<key>The event was imported successfully.</key>
+		<translation>O compromisso foi importado com sucesso.</translation>
+	</entry>
+	<entry>
+		<key>Messages saved in %1 folder.</key>
+		<translation>Mensagens salvas na pasta %1.</translation>
+	</entry>
+	<entry>
+		<key>minute ago</key>
+		<translation>minuto atrás</translation>
+	</entry>
+	<entry>
+		<key>minutes ago</key>
+		<translation>minutos atrás</translation>
+	</entry>
+	<entry>
+		<key>#MSG010- Erro verificando Expiracao/CAs do certificado.</key>
+		<translation>Erro ao verificar expiração do certificado.</translation>
+	</entry>
+	<entry>
+		<key>#MSG011- Ocorreu erro validando o certificado.</key>
+		<translation>Ocorreu erro validando o certificado.</translation>
+	</entry>
+	<entry>
+		<key>Select the desired image file</key>
+		<translation>Selecione o arquivo de imagem desejado</translation>
+	</entry>
+	<entry>
+		<key>Include</key>
+		<translation>Incluir</translation>
+	</entry>
+	<entry>
+		<key>Upload file</key>
+		<translation>Anexar arquivo</translation>
+	</entry>
+	<entry>
+		<key>More actions</key>
+		<translation>Mais ações</translation>
+	</entry>
+	<entry>
+		<key>More</key>
+		<translation>Mais</translation>
+	</entry>
+	<entry>
+		<key>More options</key>
+		<translation>Mais opções</translation>
+	</entry>
+	<entry>
+		<key>More than %1 results. Please, try to refine your search.</key>
+		<translation>Mais que %1 resultados foram encontrados. Tente refinar sua pesquisa.</translation>
+	</entry>
+	<entry>
+		<key>More than %1 results were found</key>
+		<translation>Mais de %1 resultados foram encontrados</translation>
+	</entry>
+	<entry>
+		<key>Move</key>
+		<translation>Mover</translation>
+	</entry>
+	<entry>
+		<key>Move to</key>
+		<translation>Mover para</translation>
+	</entry>
+	<entry>
+		<key>My Folders</key>
+		<translation>Minhas Pastas</translation>
+	</entry>
+	<entry>
+		<key>Nao foi possivel verificar se o certificado esta revogado.(CD-01)</key>
+		<translation>A lista de certificados revogados não foi encontrada.(CD-01)</translation>
+	</entry>
+	<entry>
+		<key>Nao foi possivel verificar se o certificado esta revogado.(CD-02)</key>
+		<translation>Não foi possível verificar se o certificado está revogado.(CD-02)</translation>
+	</entry>
+	<entry>
+		<key>Nao foi possivel verificar se o certificado esta revogado.(CD-03)</key>
+		<translation>Não foi possível verificar se o certificado está revogado.(CD-03)</translation>
+	</entry>
+	<entry>
+		<key>New</key>
+		<translation>Novo</translation>
+	</entry>
+	<entry>
+		<key>New Folder</key>
+		<translation>Nova Pasta</translation>
+	</entry>
+	<entry>
+		<key>New Message</key>
+		<translation>Nova Mensagem</translation>
+	</entry>
+	<entry>
+		<key>New rule</key>
+		<translation>Nova Regra</translation>
+	</entry>
+	<entry>
+		<key>Next</key>
+		<translation>Próximo</translation>
+	</entry>
+	<entry>
+		<key>Nickname</key>
+		<translation>Apelido</translation>
+	</entry>
+	<entry>
+		<key>No data to search</key>
+		<translation>Nenhum dado digitado para pesquisar.</translation>
+	</entry>
+	<entry>
+		<key>None</key>
+		<translation>Nenhum</translation>
+	</entry>
+	<entry>
+		<key>None result was found.</key>
+		<translation>Nenhum resultado foi encontrado.</translation>
+	</entry>
+	<entry>
+		<key>No option marked!</key>
+		<translation>Não foi marcada nenhuma opção!</translation>
+	</entry>
+	<entry>
+		<key>normal</key>
+		<translation>normal</translation>
+	</entry>
+	<entry>
+		<key>now</key>
+		<translation>agora</translation>
+	</entry>
+	<entry>
+		<key>No selected message.</key>
+		<translation>Nenhuma mensagem foi selecionada.</translation>
+	</entry>
+	<entry>
+		<key>No Subject</key>
+		<translation>Sem Assunto</translation>
+	</entry>
+	<entry>
+		<key>Note: This sharing will take action on all of your folders and messages.</key>
+		<translation>Atenção: Este compartilhamento terá ação em TODAS as suas pastas e mensagens.</translation>
+	</entry>
+	<entry>
+		<key>Not Spam</key>
+		<translation>Não é spam</translation>
+	</entry>
+	<entry>
+		<key>Number of dynamic contacts</key>
+		<translation>Número de contatos dinâmicos</translation>
+	</entry>
+	<entry>
+		<key>You have exceeded the number of allowed characters</key>
+		<translation>O número máximo de caracteres permitidos foi excedido.</translation>
+	</entry>
+	<entry>
+		<key>Attention, you are in out of office mode.</key>
+		<translation>ATENÇÃO: você está com filtro para "fora de escritório" ativado.</translation>
+	</entry>
+	<entry>
+		<key>Open chat window</key>
+		<translation>Abrir janela de conversa</translation>
+	</entry>
+	<entry>
+		<key>Open in New Window</key>
+		<translation>Abrir em Nova Janela</translation>
+	</entry>
+	<entry>
+		<key>Open in New Tab</key>
+		<translation>Abrir em Nova Aba</translation>
+	</entry>
+	<entry>
+		<key>Open search window</key>
+		<translation>Abrir janela de pesquisa</translation>
+	</entry>
+	<entry>
+		<key>Options</key>
+		<translation>Opções</translation>
+	</entry>
+	<entry>
+		<key>Organization</key>
+		<translation>Organização</translation>
+	</entry>
+	<entry>
+		<key>Original Attachments: add</key>
+		<translation>Anexos originais: adicionar</translation>
+	</entry>
+	<entry>
+		<key>Original Attachments: remove</key>
+		<translation>Anexos originais: remover</translation>
+	</entry>
+	<entry>
+		<key>outdent</key>
+		<translation>Tabulação a direita</translation>
+	</entry>
+	<entry>
+		<key>out office</key>
+		<translation>Fora do Escritório</translation>
+	</entry>
+	<entry>
+		<key>Over quota</key>
+		<translation>Cota de espaço excedida</translation>
+	</entry>
+	<entry>
+		<key>Padding Email List</key>
+		<translation>Altura das linhas da lista de mensagens</translation>
+	</entry>
+	<entry>
+		<key>Page Not Found!</key>
+		<translation>Pagina não encontrada!</translation>
+	</entry>
+	<entry>
+		<key>People</key>
+		<translation>Pessoas</translation>
+	</entry>
+	<entry>
+		<key>Personal Catalog</key>
+		<translation>Catálogo Pessoal</translation>
+	</entry>
+	<entry>
+		<key>Phone Warnings List</key>
+		<translation>Lista de Alertas Telefônicos</translation>
+	</entry>
+	<entry>
+		<key>Postfix with LDAP</key>
+		<translation>Postfix with LDAP</translation>
+	</entry>
+	<entry>
+		<key>Preferences</key>
+		<translation>Preferências</translation>
+	</entry>
+	<entry>
+		<key>Previous</key>
+		<translation>Anterior</translation>
+	</entry>
+	<entry>
+		<key>Print</key>
+		<translation>Imprimir</translation>
+	</entry>
+	<entry>
+		<key>Problems reading your message</key>
+		<translation>Não foi possível ler sua mensagem</translation>
+	</entry>
+	<entry>
+		<key>Quick Add</key>
+		<translation>Adição Rápida</translation>
+	</entry>
+	<entry>
+		<key>You have reached the maximum number of rules</key>
+		<translation>O número máximo de mensagens foi atingido</translation>
+	</entry>
+	<entry>
+		<key>Public Lists</key>
+		<translation>Listas Públicas</translation>
+	</entry>
+	<entry>
+		<key>Reached maximum tab limit</key>
+		<translation>Limitie máximo de abas foi atingido.</translation>
+	</entry>
+	<entry>
+		<key>Read</key>
+		<translation>Leitura</translation>
+	</entry>
+	<entry>
+		<key>Redo</key>
+		<translation>Refazer</translation>
+	</entry>
+	<entry>
+		<key>Refresh</key>
+		<translation>Atualizar</translation>
+	</entry>
+	<entry>
+		<key>Rich Text</key>
+		<translation>Texto Rico</translation>
+	</entry>
+	<entry>
+		<key>Remove</key>
+		<translation>Remover</translation>
+	</entry>
+	<entry>
+		<key>Rename folder</key>
+		<translation>Renomear pasta</translation>
+	</entry>
+	<entry>
+		<key>remove all attachments</key>
+		<translation>Remover anexos</translation>
+	</entry>
+	<entry>
+		<key>Reply</key>
+		<translation>Responder</translation>
+	</entry>
+	<entry>
+		<key>Reply sent messages to</key>
+		<translation>Responder mensagens enviadas para</translation>
+	</entry>
+	<entry>
+		<key>Reply to all</key>
+		<translation>Responder a todos</translation>
+	</entry>
+	<entry>
+		<key>Reply to all with history</key>
+		<translation>Responder a todos com histórico</translation>
+	</entry>
+	<entry>
+		<key>Reply to all without history</key>
+		<translation>Responder a todos sem histórico</translation>
+	</entry>
+	<entry>
+		<key>Reply to</key>
+		<translation>Responder a</translation>
+	</entry>
+	<entry>
+		<key>Reply to sender</key>
+		<translation>Responder ao Remetente</translation>
+	</entry>
+	<entry>
+		<key>Reply with history</key>
+		<translation>Responder com histórico</translation>
+	</entry>
+	<entry>
+		<key>Reply without history</key>
+		<translation>Responder sem histórico</translation>
+	</entry>
+	<entry>
+		<key>Result of the search</key>
+		<translation>Resultado da busca</translation>
+	</entry>
+	<entry>
+		<key>results found</key>
+		<translation>resultados encontrados</translation>
+	</entry>
+	<entry>
+		<key>Return receipt</key>
+		<translation>Conf. de Leitura</translation>
+	</entry>
+	<entry>
+		<key>Rule</key>
+		<translation>Regra</translation>
+	</entry>
+	<entry>
+		<key>Save as Draft</key>
+		<translation>Salvar como Rascunho</translation>
+	</entry>
+	<entry>
+		<key>Save deleted messages in trash folder?</key>
+		<translation>Salvar mensagens excluídas na pasta Lixeira?</translation>
+	</entry>
+	<entry>
+		<key>Save Draft</key>
+		<translation>Salvar Rascunho</translation>
+	</entry>
+	<entry>
+		<key>Save</key>
+		<translation>Salvar</translation>
+	</entry>
+	<entry>
+		<key>Save as</key>
+		<translation>Salvar como</translation>
+	</entry>
+	<entry>
+		<key>Save in folder</key>
+		<translation>Salvar na pasta</translation>
+	</entry>
+	<entry>
+		<key>Save sent messages in folder</key>
+		<translation>Salvar automaticamente as mensagens enviadas na pasta</translation>
+	</entry>
+	<entry>
+		<key>Search</key>
+		<translation>Pesquisar</translation>
+	</entry>
+	<entry>
+		<key>Search for Organization</key>
+		<translation>Pesquisar por Organização</translation>
+	</entry>
+	<entry>
+		<key>Search in Catalog</key>
+		<translation>Buscando no Catálogo</translation>
+	</entry>
+	<entry>
+		<key>Searching</key>
+		<translation>Procurando</translation>
+	</entry>
+	<entry>
+		<key>Search in the Global Catalog</key>
+		<translation>Pesquisar no Catálogo Geral</translation>
+	</entry>
+	<entry>
+		<key>Search Results</key>
+		<translation>Resultado da pesquisa</translation>
+	</entry>
+	<entry>
+		<key>search results</key>
+		<translation> Resultados encontrados</translation>
+	</entry>
+	<entry>
+		<key>Search the messages in these folders</key>
+		<translation>Pesquise mensagens nessas pastas</translation>
+	</entry>
+	<entry>
+		<key>Search user...</key>
+		<translation>Procurar usuário...</translation>
+	</entry>
+	<entry>
+		<key>Search user</key>
+		<translation>Procurar usuários</translation>
+	</entry>
+	<entry>
+		<key>Sector</key>
+		<translation>Setor</translation>
+	</entry>
+	<entry>
+		<key>Seen</key>
+		<translation>Lida</translation>
+	</entry>
+	<entry>
+		<key>l_seen</key>
+		<translation>Lidas</translation>
+	</entry>
+	<entry>
+		<key>selected messages have been archived</key>
+		<translation>As mensagens selecionadas foram arquivadas com sucesso</translation>
+	</entry>
+	<entry>
+		<key>Select a folder</key>
+		<translation>Selecione uma pasta</translation>
+	</entry>
+	<entry>
+		<key>Select a folder!</key>
+		<translation>Selecione uma pasta!</translation>
+	</entry>
+	<entry>
+		<key>Select all messages.</key>
+		<translation>Selecionar todas as mensagens.</translation>
+	</entry>
+	<entry>
+		<key>Select a name</key>
+		<translation>Selecione um nome</translation>
+	</entry>
+	<entry>
+		<key>Select an organization and click on button <b>Search</b></key>
+		<translation>Selecione uma Organização e clique no botão <b>Pesquisar</b></translation>
+	</entry>
+	<entry>
+		<key>Select on send</key>
+		<translation>Selecionar no envio da mensagem</translation>
+	</entry>
+	<entry>
+		<key>Select the type of contact that you want to view</key>
+		<translation>Selecione o tipo de contato que deseja visualizar</translation>
+	</entry>
+	<entry>
+		<key>Select the user</key>
+		<translation>Selecionar no envio</translation>
+	</entry>
+	<entry>
+		<key>Send and file</key>
+		<translation>Enviar e Arquivar</translation>
+	</entry>
+	<entry>
+		<key>Send a rejection message</key>
+		<translation>Envie uma mensagem de rejeição</translation>
+	</entry>
+	<entry>
+		<key>Sender's Information</key>
+		<translation>Dados do Remetente</translation>
+	</entry>
+	<entry>
+		<key>Sender blocked</key>
+		<translation>Remetente já bloqueado</translation>
+	</entry>
+	<entry>
+		<key>Send</key>
+		<translation>Enviar</translation>
+	</entry>
+	<entry>
+		<key>Send this message without a subject?</key>
+		<translation>Enviar esta mensagem sem assunto?</translation>
+	</entry>
+	<entry>
+		<key>Send (without save)</key>
+		<translation>Enviar (sem arquivar)</translation>
+	</entry>
+	<entry>
+		<key>Sent by</key>
+		<translation>Enviado por</translation>
+	</entry>
+	<entry>
+		<key>Sent</key>
+		<translation>Enviado</translation>
+	</entry>
+	<entry>
+		<key>Sent Folder name</key>
+		<translation>Nome da pasta enviadas</translation>
+	</entry>
+	<entry>
+		<key>Service unavailable</key>
+		<translation>Serviço não disponível</translation>
+	</entry>
+	<entry>
+		<key>Set Date</key>
+		<translation>Informar data</translation>
+	</entry>
+	<entry>
+		<key>Shared folders</key>
+		<translation>Pastas compartilhadas</translation>
+	</entry>
+	<entry>
+		<key>Shared options saved with success</key>
+		<translation>Opções de compartilhamento salvas com sucesso.</translation>
+	</entry>
+	<entry>
+		<key>Share mailbox</key>
+		<translation>Compartilhar pastas</translation>
+	</entry>
+	<entry>
+		<key>Show default view on main screen?</key>
+		<translation>Exibir resumo do ExpressoMail na tela inicial do Expresso?</translation>
+	</entry>
+	<entry>
+		<key>Showing only the results found in your organization</key>
+		<translation>Exibindo somente os resultados em sua organização</translation>
+	</entry>
+	<entry>
+		<key>Show previous message, after delete actual message?</key>
+		<translation>Exibir mensagem anterior, após apagar mensagem atual?</translation>
+	</entry>
+	<entry>
+		<key>Signature</key>
+		<translation>Assinatura</translation>
+	</entry>
+	<entry>
+		<key>Signature Type</key>
+		<translation>Tipo de Assinatura</translation>
+	</entry>
+	<entry>
+		<key>Signature Configuration</key>
+		<translation>Configurações da Assinatura</translation>
+	</entry>
+	<entry>
+		<key>Signed message</key>
+		<translation>Mensagem assinada digitalmente</translation>
+	</entry>
+	<entry>
+		<key>Simple Text</key>
+		<translation>Texto Simples</translation>
+	</entry>
+	<entry>
+		<key>Size</key>
+		<translation>Tamanho</translation>
+	</entry>
+	<entry>
+		<key>Small</key>
+		<translation>pequena</translation>
+	</entry>
+	<entry>
+		<key>Spam</key>
+		<translation>Spam</translation>
+	</entry>
+	<entry>
+		<key>Spam Folder name</key>
+		<translation>Nome da pasta spam</translation>
+	</entry>
+	<entry>
+		<key>standard IMAP server</key>
+		<translation>servidor padrão de IMAP</translation>
+	</entry>
+	<entry>
+		<key>standard POP3 server</key>
+		<translation>servidor padrão de POP3</translation>
+	</entry>
+	<entry>
+		<key>standard SMTP-Server</key>
+		<translation>standard SMTP-Server</translation>
+	</entry>
+	<entry>
+		<key>Status</key>
+		<translation>Status</translation>
+	</entry>
+	<entry>
+		<key>Store at</key>
+		<translation>Arquivar em</translation>
+	</entry>
+	<entry>
+		<key>Subject: </key>
+		<translation>Assunto:</translation>
+	</entry>
+	<entry>
+		<key>Subject</key>
+		<translation>Assunto</translation>
+	</entry>
+	<entry>
+		<key>Test Word: Hello %1 %2 %3 %4, Bye!</key>
+		<translation>Teste de Palavra: Oi %1 %2 %3 %4, Ate logo!</translation>
+	</entry>
+	<entry>
+		<key>Subject</key>
+		<translation>Assunto</translation>
+	</entry>
+	<entry>
+		<key>The Anti Pop-Up is enabled. Allow this site (%1) for print.</key>
+		<translation>O anti Pop-Up está ativado. Desative-o para este site (%1)!</translation>
+	</entry>
+	<entry>
+		<key>The field \"%1\" of the message it contains</key>
+		<translation>O campo \"%1\" da mensagem contém</translation>
+	</entry>
+	<entry>
+		<key>The folder %1 was successfully removed</key>
+		<translation>A pasta %1 foi removida com sucesso!</translation>
+	</entry>
+	<entry>
+		<key>The folder was not deleted!</key>
+		<translation>A pasta não foi removida!</translation>
+	</entry>
+	<entry>
+		<key>The list has no participant.</key>
+		<translation>Essa lista não possui nenhum participante.</translation>
+	</entry>
+	<entry>
+		<key>The messages were deleted.</key>
+		<translation>Mensagens removidas.</translation>
+	</entry>
+	<entry>
+		<key>The messages were moved to folder </key>
+		<translation>Mensagens movidas para pasta</translation>
+	</entry>
+	<entry>
+		<key>The message was deleted.</key>
+		<translation>Mensagem removida.</translation>
+	</entry>
+	<entry>
+		<key>The message was moved to %1 folder.</key>
+		<translation>Mensagem movida para pasta %1.</translation>
+	</entry>
+	<entry>
+		<key>The message was moved to folder </key>
+		<translation>Mensagem movida para a pasta</translation>
+	</entry>
+	<entry>
+		<key>The origin folder and the destination folder are the same.</key>
+		<translation>A pasta de origem e de destino são as mesmas.</translation>
+	</entry>
+	<entry>
+		<key>The preference "%1" isn't enabled.</key>
+		<translation>A preferência "%1" não foi habilitada.</translation>
+	</entry>
+	<entry>
+		<key>There's an action processing. Do you want abort it?</key>
+		<translation>Existe uma ação que ainda está sendo processada. Suspender ação?</translation>
+	</entry>
+	<entry>
+		<key>The results were found in the Global Catalog</key>
+		<translation>Ocorrências encontradas no Catálogo Geral</translation>
+	</entry>
+	<entry>
+		<key>The sender was blocked</key>
+		<translation>O remetente foi bloqueado</translation>
+	</entry>
+	<entry>
+		<key>The size of the message is</key>
+		<translation>O tamanho da mensagem seja</translation>
+	</entry>
+	<entry>
+		<key>The size of this message has exceeded  the limit (%1B).</key>
+		<translation>O tamanho desta mensagem excedeu o limite (maior que %1B).</translation>
+	</entry>
+	<entry>
+		<key>This list has no participants</key>
+		<translation>Esta lista nao possui nenhum participante.</translation>
+	</entry>
+	<entry>
+		<key>This mail box is empty</key>
+		<translation>Esta pasta está vazia</translation>
+	</entry>
+	<entry>
+		<key>This message is already opened!</key>
+		<translation>Está mensagem já está aberta!</translation>
+	</entry>
+	<entry>
+		<key>This message is already selected!</key>
+		<translation>Esta caixa já está na seleção!</translation>
+	</entry>
+	<entry>
+		<key>This message is signed, and you can trust.</key>
+		<translation>Esta mensagem foi assinada e pode ser considerada legítima.</translation>
+	</entry>
+	<entry>
+		<key>This is the number of messages shown in your mailbox per page</key>
+		<translation>Este é o número de mensagens mostradas na sua caixa de correio por página</translation>
+	</entry>
+	<entry>
+		<key>When delete message, send it automatically to trash folder</key>
+		<translation>Ao excluir um mensagem, mover automaticamente esta mensagem para a pasta lixeira</translation>
+	</entry>
+	<entry>
+		<key>Delete automatically the messages in trash folder in how many days</key>
+		<translation>Apagar automaticamente as mensagens na pasta lixeira após quantos dias</translation>
+	</entry>
+	<entry>
+		<key>Enabling this options you will be able to store messages in your local computer</key>
+		<translation>Ao ativar esta opção você será capaz de armazenar mensagens no seu computador local</translation>
+	</entry>
+	<entry>
+		<key>After store email in your local computer delete it from server</key>
+		<translation>Depois de guardar e-mail no seu computador local, excluí-lo do servidor</translation>
+	</entry>
+	<entry>
+		<key>Enable this option if you want to read the next message everytime you delete a message</key>
+		<translation>Habilite esta opção se você quiser ler a mensagem seguinte sempre que você apagar uma mensagem</translation>
+	</entry>
+	<entry>
+		<key>Everytime you receive new messages you will be informed</key>
+		<translation>Cada vez que você receber novas mensagens que você será informado</translation>
+	</entry>
+	<entry>
+		<key>Show unread messages in your home page</key>
+		<translation>Mostrar mensagens não lidas na sua página inicial</translation>
+	</entry>
+	<entry>
+		<key>It allow you to remove attachments from messages</key>
+		<translation>Permite que você remova anexos de mensagens</translation>
+	</entry>
+	<entry>
+		<key>It allow you to send emails with important flag, but you can receive unwanted messages with important flag</key>
+		<translation>Ela permite que você envie e-mails com sinalização de importante, mas você pode receber mensagens indesejadas com sinalização de importante</translation>
+	</entry>
+	<entry>
+		<key>Save automatically sent messages in selected folder</key>
+		<translation>Salva automaticamente as mensagens enviadas na pasta selecionada</translation>
+	</entry>
+	<entry>
+		<key>You can use it if your screen does not have good resolution</key>
+		<translation>Você pode usar isto se a sua tela não tem boa resolução</translation>
+	</entry>
+	<entry>
+		<key>When you are away from computer it saves automatically the message you are writing</key>
+		<translation>Quando você estiver longe do computador. Isto salva automaticamente a mensagem que está a escrever</translation>
+	</entry>
+	<entry>
+		<key>Store your's most used contacts</key>
+		<translation>Armazene seus contatos mais utilizados</translation>
+	</entry>
+	<entry>
+		<key>When user send an email with image in body message, it changes the size</key>
+		<translation>Quando o usuário envia um e-mail com a imagem no corpo da mensagem, ela muda o tamanho</translation>
+	</entry>
+	<entry>
+		<key>This message is signed, but it is invalid. You should not trust on it.</key>
+		<translation>Esta mensagem foi assinada e foi violada. Esta mensagem não deve ser considerada confiável.</translation>
+	</entry>
+	<entry>
+		<key>To: </key>
+		<translation>Para:</translation>
+	</entry>
+	<entry>
+		<key>TO</key>
+		<translation>Para</translation>
+	</entry>
+	<entry>
+		<key>To use local messages you have to install google gears. Would you like to install it now?</key>
+		<translation>Para utilizar o recurso de mensagens locais, é preciso instalar o Google Gears. Você gostaria de instala-lo agora mesmo?</translation>
+	</entry>
+	<entry>
+		<key>To use local messages, install Google Gears</key>
+		<translation>Para utilizar mensagens locais no expresso, instale o Google Gears</translation>
+	</entry>
+	<entry>
+		<key>Tools</key>
+		<translation>Ferramentas</translation>
+	</entry>
+	<entry>
+		<key>Trash</key>
+		<translation>Lixeira</translation>
+	</entry>
+	<entry>
+		<key>Trash Folder name</key>
+		<translation>Nome da pasta lixeira</translation>
+	</entry>
+	<entry>
+		<key>Type the subject of the message for receiving a phone warning</key>
+		<translation>Digite o assunto da mensagem que deseja ser alertado por telefone</translation>
+	</entry>
+	<entry>
+		<key>Type without spaces, dots or special characters!</key>
+		<translation>Digite sem espaços, pontos ou caracteres especiais!</translation>
+	</entry>
+	<entry>
+		<key>underlined</key>
+		<translation>Sublinhado</translation>
+	</entry>
+	<entry>
+		<key>underline</key>
+		<translation>sublinhado</translation>
+	</entry>
+	<entry>
+		<key>Undo</key>
+		<translation>Desfazer</translation>
+	</entry>
+	<entry>
+		<key>Unseen</key>
+		<translation>Não lida</translation>
+	</entry>
+	<entry>
+		<key>l_unseen</key>
+		<translation>Não lidas</translation>
+	</entry>
+	<entry>
+		<key>Use F9 Key as shortcut.</key>
+		<translation>Use a tecla F9 como atalho.</translation>
+	</entry>
+	<entry>
+		<key>User connected</key>
+		<translation>Está on-line</translation>
+	</entry>
+	<entry>
+		<key>User didn't accepted you yet</key>
+		<translation>Ainda não te aceitou</translation>
+	</entry>
+	<entry>
+		<key>User not connected</key>
+		<translation>Está off-line</translation>
+	</entry>
+	<entry>
+		<key>User not registered</key>
+		<translation>Não está registrado</translation>
+	</entry>
+	<entry>
+		<key>Users</key>
+		<translation>Usuários</translation>
+	</entry>
+	<entry>
+		<key>Use dynamic contacts?</key>
+		<translation>Usar contatos dinâmicos?</translation>
+	</entry>
+	<entry>
+		<key>Use shortcuts?</key>
+		<translation>Usar teclas de atalho?</translation>
+	</entry>
+	<entry>
+		<key>Auto save draft</key>
+		<translation>Salvar rascunhos automaticamente</translation>
+	</entry>
+	<entry>
+		<key>Validity of certificate: </key>
+		<translation>Validade do certificado:</translation>
+	</entry>
+	<entry>
+		<key>View HTML source</key>
+		<translation>Ver código html</translation>
+	</entry>
+	<entry>
+		<key>View tips</key>
+		<translation>Ver dicas</translation>
+	</entry>
+	<entry>
+		<key>Voided message</key>
+		<translation>Mensagem violada</translation>
+	</entry>
+	<entry>
+		<key>Warning: Your Mailbox is almost full!</key>
+		<translation>Aviso: Sua caixa postal está quase cheia!</translation>
+	</entry>
+	<entry>
+		<key>was succefully removed</key>
+		<translation> foi removida com sucesso</translation>
+	</entry>
+	<entry>
+		<key>What is the height of the lines in the list of messages?</key>
+		<translation>Qual a altura das linhas na lista de mensagens?</translation>
+	</entry>
+	<entry>
+		<key>What is the maximum number of messages per page?</key>
+		<translation>Qual o número máximo de mensagens por página?</translation>
+	</entry>
+	<entry>
+		<key>Who</key>
+		<translation>Quem</translation>
+	</entry>
+	<entry>
+		<key>With all</key>
+		<translation>com todas</translation>
+	</entry>
+	<entry>
+		<key>Without Quota</key>
+		<translation>Sem Quota</translation>
+	</entry>
+	<entry>
+		<key>without save</key>
+		<translation>sem arquivar</translation>
+	</entry>
+	<entry>
+		<key>with signer different from sender</key>
+		<translation>com e-mail do signatário diferente do remetente</translation>
+	</entry>
+	<entry>
+		<key>with some</key>
+		<translation>com algumas</translation>
+	</entry>
+	<entry>
+		<key>With the following message</key>
+		<translation>Com a seguinte mensagem</translation>
+	</entry>
+	<entry>
+		<key>Write</key>
+		<translation>Criação</translation>
+	</entry>
+	<entry>
+		<key>Write message</key>
+		<translation>Compôr uma mensagem</translation>
+	</entry>
+	<entry>
+		<key>wrote</key>
+		<translation>escreveu</translation>
+	</entry>
+	<entry>
+		<key>You didn't accepted yet</key>
+		<translation>Você ainda não aceitou</translation>
+	</entry>
+	<entry>
+		<key>You don't have permission for this operation in this shared folder!</key>
+		<translation>Você não possui permissão para esta operação na pasta compartilhada!</translation>
+	</entry>
+	<entry>
+		<key>You have %1 new</key>
+		<translation>Você tem %1 nova(s)</translation>
+	</entry>
+	<entry>
+		<key>You must wait while the messages will be exported...</key>
+		<translation>Aguarde enquanto as mensagens serão exportadas...</translation>
+	</entry>
+	<entry>
+		<key>you can't move mails from local to server folders</key>
+		<translation>Não é possível mover mensagens de uma pasta local para uma pasta no servidor.</translation>
+	</entry>
+	<entry>
+		<key>you have to enter the name of the new folder</key>
+		<translation>Informe o nome da pasta</translation>
+	</entry>
+	<entry>
+		<key>You cant manipulate local messages on search</key>
+		<translation>Impossível manipular mensagens locais a partir de uma busca. Isso é permitido apenas para mensagens não locais.</translation>
+	</entry>
+	<entry>
+		<key>You must wait while the messages will be imported...</key>
+		<translation>Aguarde enquanto as mensagens serão importadas...</translation>
+	</entry>
+	<entry>
+		<key>Your Mailbox is 100% full! You must free more space or will not receive messages.</key>
+		<translation>Sua caixa postal está 100% cheia! Libere espaço ou não irá receber mensagens.</translation>
+	</entry>
+	<entry>
+		<key>Your mailbox is shared with</key>
+		<translation>Sua caixa postal está compartilhada com</translation>
+	</entry>
+	<entry>
+		<key>Your message has not been sent and will be discarted.</key>
+		<translation>Sua mensagem não foi enviada e será perdida.</translation>
+	</entry>
+	<entry>
+		<key>Your message has not been sent. Discard your message?</key>
+		<translation>Sua mensagem não foi salva ou enviada. Descartar a mensagem?</translation>
+	</entry>
+	<entry>
+		<key>Your message was rejected by antivirus. Perhaps your attachment has been infected.</key>
+		<translation>Sua mensagem foi rejeitada pelo anti-virus. Seu anexo pode estar infectado.</translation>
+	</entry>
+	<entry>
+		<key>Your message was save as draft in folder %1.</key>
+		<translation>Sua mensagem foi salva como rascunho na pasta %1.</translation>
+	</entry>
+	<entry>
+		<key>Your message was sent and save.</key>
+		<translation>Sua mensagem foi enviada e salva.</translation>
+	</entry>
+	<entry>
+		<key>Your message was sent.</key>
+		<translation>Sua mensagem foi enviada.</translation>
+	</entry>
+	<entry>
+		<key>Your search argument must be longer than 4 characters.</key>
+		<translation>Seus argumentos para a pesquisa precisam ter mais que 4 dígitos.</translation>
+	</entry>
+	<entry>
+		<key>Your session could not be verified.</key>
+		<translation>Sua sessão expirou. Entre novamente no Expresso.</translation>
+	</entry>
+	<entry>
+		<key>Your Trash folder was empty.</key>
+		<translation>Sua pasta Lixeira foi limpa.</translation>
+	</entry>
+	<entry>
+		<key>Users from your organization</key>
+		<translation>Usuários da sua organização</translation>
+	</entry>
+	<entry>
+		<key>Users from others organizations</key>
+		<translation>Usuários de outras organizações</translation>
+	</entry>
+	<entry>
+		<key>zip mails to import</key>
+		<translation>Arquivo .zip ou .eml:</translation>
+	</entry>
+	<entry>
+		<key>Yesterday</key>
+		<translation>Ontem</translation>
+	</entry>
+	<entry>
+		<key>Sunday</key>
+		<translation>Domingo</translation>
+	</entry>
+	<entry>
+		<key>Monday</key>
+		<translation>Segunda-feira</translation>
+	</entry>
+	<entry>
+		<key>Tuesday</key>
+		<translation>Terça-feira</translation>
+	</entry>
+	<entry>
+		<key>Wednesday</key>
+		<translation>Quarta-feira</translation>
+	</entry>
+	<entry>
+		<key>Thursday</key>
+		<translation>Quinta-feira</translation>
+	</entry>
+	<entry>
+		<key>Friday</key>
+		<translation>Sexta-feira</translation>
+	</entry>
+	<entry>
+		<key>Saturday</key>
+		<translation>Sábado</translation>
+	</entry>
+	<entry>
+		<key>Expresso Offline</key>
+		<translation>ExpressoMail Offline</translation>
+	</entry>
+	<entry>
+		<key>Offline Pass</key>
+		<translation>Senha do Offline</translation>
+	</entry>
+	<entry>
+		<key>Install Offline</key>
+		<translation>Instalar offline</translation>
+	</entry>
+	<entry>
+		<key>Uninstall Offline</key>
+		<translation>Desinstalar offline</translation>
+	</entry>
+	<entry>
+		<key>Logoff</key>
+		<translation>Desconectar</translation>
+	</entry>
+	<entry>
+		<key>Offline success installed</key>
+		<translation>Offline instalado com sucesso</translation>
+	</entry>
+	<entry>
+		<key>Offline success uninstalled</key>
+		<translation>Offline removido com sucesso</translation>
+	</entry>
+	<entry>
+		<key>Your message was sent to queue</key>
+		<translation>Sua mensagem foi enviada com sucesso para a fila</translation>
+	</entry>
+	<entry>
+		<key>You have messages to send. Want you to send them now?</key>
+		<translation>Você tem mensagens na fila para enviar. Deseja enviá-las agora?</translation>
+	</entry>
+	<entry>
+		<key>cannot rename folder. try other folder name</key>
+		<translation>Impossível renomear pasta, tente outro nome.</translation>
+	</entry>
+	<entry>
+		<key>message without receiver</key>
+		<translation>Você deve fornecer pelo menos um endereço de destinatário de email.</translation>
+	</entry>
+	<entry>
+		<key>Send from queue</key>
+		<translation>Enviar fila</translation>
+	</entry>
+	<entry>
+		<key>No messages to send</key>
+		<translation>Não há mensagens na fila de e-mails offline.</translation>
+	</entry>
+	<entry>
+		<key>Number of messages to send:</key>
+		<translation>Número de mensagens à enviar:</translation>
+	</entry>
+	<entry>
+		<key>Not allowed in offline mode</key>
+		<translation>Não permitido no modo offline</translation>
+	</entry>
+</dictionary>
Index: trunk/expressoMail1_2/inc/load_lang.php
===================================================================
--- trunk/expressoMail1_2/inc/load_lang.php	(revision 1121)
+++ trunk/expressoMail1_2/inc/load_lang.php	(revision 1503)
@@ -21,4 +21,4 @@
 	foreach($_SESSION['phpgw_info']['expressomail']['lang'] as $key => $value)
 		$script .= "array_lang['".str_replace("'","\'",strtolower($key))."'] = '".str_replace("'","\'",$value)."';\n";
-	echo "<script type='text/javascript'>$script</script>";
+	//echo "<script type='text/javascript'>$script</script>";
 ?>
Index: trunk/expressoMail1_2/inc/class.functions.inc.php
===================================================================
--- trunk/expressoMail1_2/inc/class.functions.inc.php	(revision 1384)
+++ trunk/expressoMail1_2/inc/class.functions.inc.php	(revision 1503)
@@ -99,10 +99,39 @@
 			return $response;
 		}
-		
-		function getLang($key){
-			if ($_SESSION['phpgw_info']['expressomail']['lang'][$key])
-			return $_SESSION['phpgw_info']['expressomail']['lang'][$key];			
+
+		function getLang( $key )
+		{
+			static $language = NULL;
+
+			if ( ! $language )
+			{
+				$_SESSION[ 'debug' ][ 'init_t' ] = time( );
+				$_SESSION[ 'debug' ][ 'init_m' ] = microtime( );
+
+				$xml = new DOMDocument;
+				$xml -> preserveWhiteSpace = false;
+				$xml -> load( dirname( __FILE__ )
+					. '/../setup/phpgw_'
+					. $_SESSION['phpgw_info']['expressomail']['user']['preferences']['common']['lang']
+					. '.xml'
+				);
+
+				$xpath = new DOMXPath( $xml );
+
+				$_key = 'key';
+				$_lang = 'translation';
+
+				$language = array( );
+				foreach( $xml -> documentElement -> childNodes as $entry )
+					$language[ $xpath->query( $_key, $entry ) -> item( 0 ) -> nodeValue ] = $xpath->query( $_lang, $entry ) -> item( 0 ) -> nodeValue;
+
+				$_SESSION[ 'debug' ][ 'end_t' ] = time( );
+				$_SESSION[ 'debug' ][ 'end_m' ] = microtime( );
+			}
+
+			if ( array_key_exists( $key, $language ) )
+				return $language[ $key ];
 			else
-				return ($key . '*');
+				return ( $key . '*' );
 		}
 
Index: trunk/expressoMail1_2/js/common_functions.js
===================================================================
--- trunk/expressoMail1_2/js/common_functions.js	(revision 1443)
+++ trunk/expressoMail1_2/js/common_functions.js	(revision 1503)
@@ -84,4 +84,23 @@
 // Translate words and phrases using user language from eGroupware.
 function get_lang(_key) {
+	if ( ! array_lang )
+	{
+		array_lang = [ ];
+
+		var source = xtools.parse( 'setup/phpgw_pt-br.xml', 'setup/language.xsl' );
+
+		try
+		{
+			var lang = document.createElement( 'script' );
+				lang.appendChild( document.createTextNode( source ) );
+
+			document.getElementsByTagName( 'head' ).item( 0 ).appendChild( lang );
+		}
+		catch( e )
+		{
+			// IE don't run code above.
+			eval( source );
+		}
+	}
 	var key = _key.toLowerCase();
 	if(array_lang[key])
Index: trunk/expressoMail1_2/js/globals.js
===================================================================
--- trunk/expressoMail1_2/js/globals.js	(revision 1402)
+++ trunk/expressoMail1_2/js/globals.js	(revision 1503)
@@ -13,5 +13,5 @@
 var sort_box_reverse = 1;
 var last_message_selected = '';
-var array_lang = new Array();
+var array_lang = false;//new Array();
 var cyrus_delimiter = '';
 var ccaddress_array = new Array();
@@ -44,2 +44,4 @@
 var divStatusBar = document.getElementById("divStatusBar");
 var denyFileExtensions = new Array('exe','com','reg','chm','cnf','hta','ins','jse','job','lnk','pif','src','scf','sct','shb','vbe','vbs','wsc','wsf','wsh','cer','its','mau','','mda','mar','mdz','prf','pst');
+
+var xtools = new XTools( '/expresso/expressoMail1_2/' );
Index: trunk/expressoMail1_2/js/xtools.js
===================================================================
--- trunk/expressoMail1_2/js/xtools.js	(revision 1503)
+++ trunk/expressoMail1_2/js/xtools.js	(revision 1503)
@@ -0,0 +1,167 @@
+(function()
+{
+	var _FILES = [];
+
+	function _convert(pString)
+	{
+		if ( typeof pString != 'string' )
+			return false;
+
+		if ( window.ActiveXObject )
+		{
+			var _xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
+			_xmlDoc.async = "false";
+			_xmlDoc.loadXML(pString);
+		}
+		else
+		{
+			var parser = new DOMParser();
+			var _xmlDoc = parser.parseFromString(pString, "text/xml");
+		}
+
+		return _xmlDoc;
+	}
+
+	function _load(pFile)
+	{
+		pFile = this._PATH + pFile;
+		if ( !(_FILES[pFile]) )
+		{
+			var _data = null;
+			if ( document.implementation && document.implementation.createDocument )
+			{
+				XMLDocument.prototype.load = function(filePath)
+				{
+					var xmlhttp = new XMLHttpRequest();
+					xmlhttp.open("GET", filePath, false);
+					xmlhttp.setRequestHeader("Content-Type","text/xml");
+					xmlhttp.send(null);
+					var newDOM = xmlhttp.responseXML;
+					if( newDOM )
+					{
+						var newElt = this.importNode(newDOM.documentElement, true);
+						this.appendChild(newElt);
+						return true;
+					}
+				}
+
+				_data = document.implementation.createDocument("", "", null);
+			}
+			else
+				_data = new ActiveXObject("Msxml2.FreeThreadedDOMDocument");
+
+			_data.async = false;
+			_data.load( pFile + '?' + Date.parse(new Date));
+			_FILES[pFile] = _data;
+		}
+		return _FILES[pFile];
+	}
+
+	function _parse()
+	{
+		if ( arguments.length == 1 )
+		{
+			pXML = _xml('root');
+			pXSL = arguments[0];
+		}
+		else
+		{
+			pXML = arguments[0];
+			pXSL = arguments[1];
+		}
+		switch ( typeof pXML )
+		{
+			case 'object' :
+			break;
+			case 'string' :
+				if ( pXML.indexOf('<') == 0 )
+					pXML = _convert(pXML);
+				else
+					pXML = _load.call(this, pXML);
+			break;
+			default :
+				return {'error':'invalid xml'}
+		}
+		switch ( typeof pXSL )
+		{
+			case 'object' :
+			break;
+			case 'string' :
+				pXSL = _load.call(this, pXSL);
+			break;
+			default :
+				return {'error':'invalid xsl'}
+		}
+
+		var fragment = null;
+		if ( window.XSLTProcessor )
+		{
+			var xslProc = new XSLTProcessor();
+			xslProc.importStylesheet(pXSL);
+
+			if ( (arguments.length == 3) && (typeof arguments[2] == 'object') )
+			{
+				var params = arguments[2];
+				for (var i in params )
+					 xslProc.setParameter(null, i, params[i]);
+			}
+
+			fragment = xslProc.transformToFragment(pXML, document);
+
+			var aux = document.createElement("div");
+			aux.appendChild( fragment );
+			fragment = aux.innerHTML;
+		}
+		else
+		{
+			var xslTemplate = new ActiveXObject("MSXML2.XSLTemplate");
+			xslTemplate.stylesheet = pXSL;
+
+			var xslProc = xslTemplate.createProcessor();
+			xslProc.input = pXML;
+
+			if ( (arguments.length == 3) && (typeof arguments[2] == 'object') )
+			{
+				var params = arguments[2];
+				for (var i in params )
+					 xslProc.addParameter(i, params[i], '');
+			}
+
+			xslProc.transform();
+			fragment = xslProc.output;
+		}
+		return fragment;
+	}
+
+	function _xml()
+	{
+		var a = false;
+		if ( document.implementation.createDocument )
+			a = document.implementation.createDocument("", "", null);
+		else if ( ActiveXObject )
+			a = new ActiveXObject("Msxml2.DOMDocument");
+
+		if ( arguments.length == 1 && typeof arguments[0] == 'string' )
+			a.appendChild(a.createElement(arguments[0]));
+		//with ( a )
+		//	appendChild(createProcessingInstruction("xml", "version='1.0'"));
+
+		return a;
+	}
+
+	function XTools()
+	{
+		var _argv = arguments;
+		this._PATH = ( _argv.length > 0 ) ?
+			_argv[0] : '';
+		if ( this._PATH != '' && this._PATH.lastIndexOf('/') != (this._PATH.length - 1) )
+			this._PATH += '/';
+	}
+
+	XTools.prototype.convert = _convert;
+	XTools.prototype.load = _load;
+	XTools.prototype.parse = _parse;
+	XTools.prototype.xml = _xml;
+	window.XTools = XTools;
+}
+)();
Index: trunk/expressoMail1_2/index.php
===================================================================
--- trunk/expressoMail1_2/index.php	(revision 1495)
+++ trunk/expressoMail1_2/index.php	(revision 1503)
@@ -16,4 +16,5 @@
 	echo "<script type='text/javascript'>var template = '".$_SESSION['phpgw_info']['expressoMail1_2']['user']['preferences']['common']['template_set']."';</script>";
 	echo "<script src='js/modal/modal.js'></script>";
+	echo "<script src='js/xtools.js?".$update_version."' type='text/javascript'></script>";
 	echo "<script src='js/globals.js?".$update_version."' type='text/javascript'></script>";
 	echo "<script src='js/sniff_browser.js?".$update_version."' type='text/javascript'></script>";
