diff --git a/src/lang/pt/info.txt b/src/lang/pt/info.txt
new file mode 100644
index 0000000..83c8031
--- /dev/null
+++ b/src/lang/pt/info.txt
@@ -0,0 +1 @@
+Portugues
diff --git a/src/lang/pt/main.php b/src/lang/pt/main.php
new file mode 100644
index 0000000..af3686d
--- /dev/null
+++ b/src/lang/pt/main.php
@@ -0,0 +1,160 @@
+ www.phplogcon.org <-
+ * -----------------------------------------------------------------
+ *
+ * Copyright (C) 2008 Adiscon GmbH.
+ *
+ * This file is part of phpLogCon.
+ *
+ * Translation by Ricardo Maraschini
+ * [mailto:ricardo.maraschini@opservices.com.br]
+ *
+ * PhpLogCon is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * PhpLogCon is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with phpLogCon. If not, see .
+ *
+ * A copy of the GPL can be found in the file "COPYING" in this
+ * distribution.
+ *********************************************************************
+*/
+global $content;
+
+// Global Stuff
+$content['LN_MAINTITLE'] = "Controle de Logs";
+$content['LN_MAIN_SELECTSTYLE'] = "Selecione um estilo";
+$content['LN_GEN_LANGUAGE'] = "Selecione uma linguagem";
+$content['LN_GEN_SELECTSOURCE'] = "Selecione Origem";
+$content['LN_GEN_MOREPAGES'] = "Mais que uma página disponível";
+$content['LN_GEN_FIRSTPAGE'] = "Primeira Página";
+$content['LN_GEN_LASTPAGE'] = "Última Página";
+$content['LN_GEN_NEXTPAGE'] = "Próxima Página";
+$content['LN_GEN_PREVIOUSPAGE'] = "Página Anterior";
+$content['LN_GEN_RECORDCOUNT'] = "Total de registros encontrados";
+$content['LN_GEN_PAGERSIZE'] = "Registros/página";
+$content['LN_GEN_PAGE'] = "Página";
+$content['LN_GEN_PREDEFINEDSEARCHES'] = "Buscas pré-definidas";
+$content['LN_GEN_SOURCE_DISK'] = "Arquivo em disco";
+$content['LN_GEN_SOURCE_DB'] = "Base de dados";
+ $content['LN_GEN_SOURCE_PDO'] = "Database (PDO)";
+$content['LN_GEN_RECORDSPERPAGE'] = "registros por página";
+$content['LN_GEN_PRECONFIGURED'] = "Pré-configurado";
+$content['LN_GEN_AVAILABLESEARCHES'] = "Buscas disponíveis";
+ $content['LN_GEN_DB_MYSQL'] = "Mysql Server";
+ $content['LN_GEN_DB_MSSQL'] = "Microsoft SQL Server";
+ $content['LN_GEN_DB_ODBC'] = "ODBC Database Source";
+ $content['LN_GEN_DB_PGSQL'] = "PostgreSQL";
+ $content['LN_GEN_DB_OCI'] = "Oracle Call Interface";
+ $content['LN_GEN_DB_DB2'] = " IBM DB2";
+ $content['LN_GEN_DB_FIREBIRD'] = "Firebird/Interbase 6";
+ $content['LN_GEN_DB_INFORMIX'] = "IBM Informix Dynamic Server";
+ $content['LN_GEN_DB_SQLITE'] = "SQLite 2";
+ $content['LN_GEN_SELECTVIEW'] = "Select View";
+
+// Main Index Site
+$content['LN_ERROR_INSTALLFILEREMINDER'] = "Atenção! Você ainda NÃO removeu o arquivo 'install.php' do diretório de seu phpLogCon!";
+$content['LN_TOP_NUM'] = "Não.";
+$content['LN_TOP_UID'] = "uID";
+$content['LN_GRID_POPUPDETAILS'] = "Detalhes para a mensagem ID '%1'";
+
+$content['LN_SEARCH_USETHISBLA'] = "Use o formulário abaixo";
+$content['LN_SEARCH_FILTER'] = "Busca (filtro):";
+$content['LN_SEARCH_ADVANCED'] = "Busca Avançada";
+$content['LN_SEARCH'] = "Busca";
+$content['LN_SEARCH_RESET'] = "Limpa";
+$content['LN_SEARCH_PERFORMADVANCED'] = "Realizar Busca Avançada";
+$content['LN_VIEW_MESSAGECENTERED'] = "Eliminar filtros e visualizar esta mensagem no topo";
+$content['LN_VIEW_RELATEDMSG'] = "Ver mensagens relacionadas";
+$content['LN_VIEW_FILTERFOR'] = "Filtrar mensagens por ";
+ $content['LN_VIEW_SEARCHFOR'] = "Search online for ";
+ $content['LN_VIEW_SEARCHFORGOOGLE'] = "Search Google for ";
+ $content['LN_GEN_MESSAGEDETAILS'] = "Message Details";
+
+$content['LN_HIGHLIGHT'] = "Destacar >>";
+$content['LN_HIGHLIGHT_OFF'] = "Destacar <<";
+$content['LN_HIGHLIGHT_WORDS'] = "Utilize uma lista de palavras separadas por vírgula";
+
+ $content['LN_AUTORELOAD'] = "Set auto reload";
+ $content['LN_AUTORELOAD_DISABLED'] = "Auto reload disabled";
+ $content['LN_AUTORELOAD_PRECONFIGURED'] = "Preconfigured auto reload ";
+ $content['LN_AUTORELOAD_SECONDS'] = "seconds";
+ $content['LN_AUTORELOAD_MINUTES'] = "minutes";
+
+$content['LN_ERROR_NORECORDS'] = "Sem mensagens encontradas.";
+
+// Filter Options
+$content['LN_FILTER_DATE'] = "Intervalo Data/Hora";
+$content['LN_FILTER_DATEMODE'] = "Selecionar Modo";
+$content['LN_DATEMODE_ALL'] = "Todo o tempo";
+$content['LN_DATEMODE_RANGE'] = "Intervalo de tempo";
+$content['LN_DATEMODE_LASTX'] = "Tempo X desde hoje";
+$content['LN_FILTER_DATEFROM'] = "Data a partir de ";
+$content['LN_FILTER_DATETO'] = "Até";
+$content['LN_FILTER_DATELASTX'] = "Tempo desde";
+$content['LN_FILTER_ADD2SEARCH'] = "Adicionar a busca";
+$content['LN_DATE_LASTX_HOUR'] = "Última hora";
+$content['LN_DATE_LASTX_12HOURS'] = "Últimas 12 horas";
+$content['LN_DATE_LASTX_24HOURS'] = "Últimas 24 horas";
+$content['LN_DATE_LASTX_7DAYS'] = "Últimos 7 dias";
+$content['LN_DATE_LASTX_31DAYS'] = "Últimos 31 dias";
+$content['LN_FILTER_FACILITY'] = "Facility";
+$content['LN_FILTER_SEVERITY'] = "Severidade";
+$content['LN_FILTER_OTHERS'] = "Outros Filtros";
+$content['LN_FILTER_MESSAGE'] = "Mensagem Syslog";
+$content['LN_FILTER_SYSLOGTAG'] = "Syslogtag";
+$content['LN_FILTER_SOURCE'] = "Origem (Hostname)";
+$content['LN_FILTER_MESSAGETYPE'] = "Tipo de mensagem";
+
+// Field Captions
+$content['LN_FIELDS_DATE'] = "Data";
+$content['LN_FIELDS_FACILITY'] = "Facility";
+$content['LN_FIELDS_SEVERITY'] = "Severidade";
+$content['LN_FIELDS_HOST'] = "Host";
+$content['LN_FIELDS_SYSLOGTAG'] = "Syslogtag";
+$content['LN_FIELDS_PROCESSID'] = "ID do processo";
+$content['LN_FIELDS_MESSAGETYPE'] = "Tipo da Mensagem";
+$content['LN_FIELDS_UID'] = "uID";
+$content['LN_FIELDS_MESSAGE'] = "Mensagem";
+ $content['LN_FIELDS_EVENTID'] = "Event ID";
+ $content['LN_FIELDS_EVENTLOGTYPE'] = "Eventlog Type";
+ $content['LN_FIELDS_EVENTSOURCE'] = "Event Source";
+ $content['LN_FIELDS_EVENTCATEGORY'] = "Event Category";
+ $content['LN_FIELDS_EVENTUSER'] = "Event User";
+
+// Install Page
+$content['LN_CFG_DBSERVER'] = "Servidor BD";
+$content['LN_CFG_DBPORT'] = "Porta BD";
+$content['LN_CFG_DBNAME'] = "Nome BD";
+$content['LN_CFG_DBPREF'] = "Prefixo para as tabelas";
+$content['LN_CFG_DBUSER'] = "Usuário";
+$content['LN_CFG_DBPASSWORD'] = "Password";
+$content['LN_CFG_PARAMMISSING'] = "O seguinte parâmetro esta faltando: ";
+$content['LN_CFG_SOURCETYPE'] = "Tipo de Origem";
+$content['LN_CFG_DISKTYPEOPTIONS'] = "Opç&oatilde;oes de disco";
+$content['LN_CFG_LOGLINETYPE'] = "Formato linha do log";
+$content['LN_CFG_SYSLOGFILE'] = "Arquivo Syslog";
+$content['LN_CFG_DATABASETYPEOPTIONS'] = "Opç&oatilde;es BD";
+$content['LN_CFG_DBTABLETYPE'] = "Tipo de tabela";
+$content['LN_CFG_DBSTORAGEENGINE'] = "Engine BD";
+$content['LN_CFG_DBTABLENAME'] = "Nome tabela";
+$content['LN_CFG_NAMEOFTHESOURCE'] = "Nome da origem";
+$content['LN_CFG_FIRSTSYSLOGSOURCE'] = "Fonte primária Syslog";
+$content['LN_CFG_DBROWCOUNTING'] = "Habilitar contagem de registro";
+ $content['LN_CFG_VIEW'] = "Select View";
+
+// Details page
+$content['LN_DETAILS_FORSYSLOGMSG'] = "Detalhes para a mensagem com id";
+$content['LN_DETAILS_DETAILSFORMSG'] = "Detalhes para a mensagem com id";
+$content['LN_DETAIL_BACKTOLIST'] = "Voltar para a lista";
+
+?>
diff --git a/src/lang/pt/main.php.bak b/src/lang/pt/main.php.bak
new file mode 100644
index 0000000..af3686d
--- /dev/null
+++ b/src/lang/pt/main.php.bak
@@ -0,0 +1,160 @@
+ www.phplogcon.org <-
+ * -----------------------------------------------------------------
+ *
+ * Copyright (C) 2008 Adiscon GmbH.
+ *
+ * This file is part of phpLogCon.
+ *
+ * Translation by Ricardo Maraschini
+ * [mailto:ricardo.maraschini@opservices.com.br]
+ *
+ * PhpLogCon is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * PhpLogCon is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with phpLogCon. If not, see .
+ *
+ * A copy of the GPL can be found in the file "COPYING" in this
+ * distribution.
+ *********************************************************************
+*/
+global $content;
+
+// Global Stuff
+$content['LN_MAINTITLE'] = "Controle de Logs";
+$content['LN_MAIN_SELECTSTYLE'] = "Selecione um estilo";
+$content['LN_GEN_LANGUAGE'] = "Selecione uma linguagem";
+$content['LN_GEN_SELECTSOURCE'] = "Selecione Origem";
+$content['LN_GEN_MOREPAGES'] = "Mais que uma página disponível";
+$content['LN_GEN_FIRSTPAGE'] = "Primeira Página";
+$content['LN_GEN_LASTPAGE'] = "Última Página";
+$content['LN_GEN_NEXTPAGE'] = "Próxima Página";
+$content['LN_GEN_PREVIOUSPAGE'] = "Página Anterior";
+$content['LN_GEN_RECORDCOUNT'] = "Total de registros encontrados";
+$content['LN_GEN_PAGERSIZE'] = "Registros/página";
+$content['LN_GEN_PAGE'] = "Página";
+$content['LN_GEN_PREDEFINEDSEARCHES'] = "Buscas pré-definidas";
+$content['LN_GEN_SOURCE_DISK'] = "Arquivo em disco";
+$content['LN_GEN_SOURCE_DB'] = "Base de dados";
+ $content['LN_GEN_SOURCE_PDO'] = "Database (PDO)";
+$content['LN_GEN_RECORDSPERPAGE'] = "registros por página";
+$content['LN_GEN_PRECONFIGURED'] = "Pré-configurado";
+$content['LN_GEN_AVAILABLESEARCHES'] = "Buscas disponíveis";
+ $content['LN_GEN_DB_MYSQL'] = "Mysql Server";
+ $content['LN_GEN_DB_MSSQL'] = "Microsoft SQL Server";
+ $content['LN_GEN_DB_ODBC'] = "ODBC Database Source";
+ $content['LN_GEN_DB_PGSQL'] = "PostgreSQL";
+ $content['LN_GEN_DB_OCI'] = "Oracle Call Interface";
+ $content['LN_GEN_DB_DB2'] = " IBM DB2";
+ $content['LN_GEN_DB_FIREBIRD'] = "Firebird/Interbase 6";
+ $content['LN_GEN_DB_INFORMIX'] = "IBM Informix Dynamic Server";
+ $content['LN_GEN_DB_SQLITE'] = "SQLite 2";
+ $content['LN_GEN_SELECTVIEW'] = "Select View";
+
+// Main Index Site
+$content['LN_ERROR_INSTALLFILEREMINDER'] = "Atenção! Você ainda NÃO removeu o arquivo 'install.php' do diretório de seu phpLogCon!";
+$content['LN_TOP_NUM'] = "Não.";
+$content['LN_TOP_UID'] = "uID";
+$content['LN_GRID_POPUPDETAILS'] = "Detalhes para a mensagem ID '%1'";
+
+$content['LN_SEARCH_USETHISBLA'] = "Use o formulário abaixo";
+$content['LN_SEARCH_FILTER'] = "Busca (filtro):";
+$content['LN_SEARCH_ADVANCED'] = "Busca Avançada";
+$content['LN_SEARCH'] = "Busca";
+$content['LN_SEARCH_RESET'] = "Limpa";
+$content['LN_SEARCH_PERFORMADVANCED'] = "Realizar Busca Avançada";
+$content['LN_VIEW_MESSAGECENTERED'] = "Eliminar filtros e visualizar esta mensagem no topo";
+$content['LN_VIEW_RELATEDMSG'] = "Ver mensagens relacionadas";
+$content['LN_VIEW_FILTERFOR'] = "Filtrar mensagens por ";
+ $content['LN_VIEW_SEARCHFOR'] = "Search online for ";
+ $content['LN_VIEW_SEARCHFORGOOGLE'] = "Search Google for ";
+ $content['LN_GEN_MESSAGEDETAILS'] = "Message Details";
+
+$content['LN_HIGHLIGHT'] = "Destacar >>";
+$content['LN_HIGHLIGHT_OFF'] = "Destacar <<";
+$content['LN_HIGHLIGHT_WORDS'] = "Utilize uma lista de palavras separadas por vírgula";
+
+ $content['LN_AUTORELOAD'] = "Set auto reload";
+ $content['LN_AUTORELOAD_DISABLED'] = "Auto reload disabled";
+ $content['LN_AUTORELOAD_PRECONFIGURED'] = "Preconfigured auto reload ";
+ $content['LN_AUTORELOAD_SECONDS'] = "seconds";
+ $content['LN_AUTORELOAD_MINUTES'] = "minutes";
+
+$content['LN_ERROR_NORECORDS'] = "Sem mensagens encontradas.";
+
+// Filter Options
+$content['LN_FILTER_DATE'] = "Intervalo Data/Hora";
+$content['LN_FILTER_DATEMODE'] = "Selecionar Modo";
+$content['LN_DATEMODE_ALL'] = "Todo o tempo";
+$content['LN_DATEMODE_RANGE'] = "Intervalo de tempo";
+$content['LN_DATEMODE_LASTX'] = "Tempo X desde hoje";
+$content['LN_FILTER_DATEFROM'] = "Data a partir de ";
+$content['LN_FILTER_DATETO'] = "Até";
+$content['LN_FILTER_DATELASTX'] = "Tempo desde";
+$content['LN_FILTER_ADD2SEARCH'] = "Adicionar a busca";
+$content['LN_DATE_LASTX_HOUR'] = "Última hora";
+$content['LN_DATE_LASTX_12HOURS'] = "Últimas 12 horas";
+$content['LN_DATE_LASTX_24HOURS'] = "Últimas 24 horas";
+$content['LN_DATE_LASTX_7DAYS'] = "Últimos 7 dias";
+$content['LN_DATE_LASTX_31DAYS'] = "Últimos 31 dias";
+$content['LN_FILTER_FACILITY'] = "Facility";
+$content['LN_FILTER_SEVERITY'] = "Severidade";
+$content['LN_FILTER_OTHERS'] = "Outros Filtros";
+$content['LN_FILTER_MESSAGE'] = "Mensagem Syslog";
+$content['LN_FILTER_SYSLOGTAG'] = "Syslogtag";
+$content['LN_FILTER_SOURCE'] = "Origem (Hostname)";
+$content['LN_FILTER_MESSAGETYPE'] = "Tipo de mensagem";
+
+// Field Captions
+$content['LN_FIELDS_DATE'] = "Data";
+$content['LN_FIELDS_FACILITY'] = "Facility";
+$content['LN_FIELDS_SEVERITY'] = "Severidade";
+$content['LN_FIELDS_HOST'] = "Host";
+$content['LN_FIELDS_SYSLOGTAG'] = "Syslogtag";
+$content['LN_FIELDS_PROCESSID'] = "ID do processo";
+$content['LN_FIELDS_MESSAGETYPE'] = "Tipo da Mensagem";
+$content['LN_FIELDS_UID'] = "uID";
+$content['LN_FIELDS_MESSAGE'] = "Mensagem";
+ $content['LN_FIELDS_EVENTID'] = "Event ID";
+ $content['LN_FIELDS_EVENTLOGTYPE'] = "Eventlog Type";
+ $content['LN_FIELDS_EVENTSOURCE'] = "Event Source";
+ $content['LN_FIELDS_EVENTCATEGORY'] = "Event Category";
+ $content['LN_FIELDS_EVENTUSER'] = "Event User";
+
+// Install Page
+$content['LN_CFG_DBSERVER'] = "Servidor BD";
+$content['LN_CFG_DBPORT'] = "Porta BD";
+$content['LN_CFG_DBNAME'] = "Nome BD";
+$content['LN_CFG_DBPREF'] = "Prefixo para as tabelas";
+$content['LN_CFG_DBUSER'] = "Usuário";
+$content['LN_CFG_DBPASSWORD'] = "Password";
+$content['LN_CFG_PARAMMISSING'] = "O seguinte parâmetro esta faltando: ";
+$content['LN_CFG_SOURCETYPE'] = "Tipo de Origem";
+$content['LN_CFG_DISKTYPEOPTIONS'] = "Opç&oatilde;oes de disco";
+$content['LN_CFG_LOGLINETYPE'] = "Formato linha do log";
+$content['LN_CFG_SYSLOGFILE'] = "Arquivo Syslog";
+$content['LN_CFG_DATABASETYPEOPTIONS'] = "Opç&oatilde;es BD";
+$content['LN_CFG_DBTABLETYPE'] = "Tipo de tabela";
+$content['LN_CFG_DBSTORAGEENGINE'] = "Engine BD";
+$content['LN_CFG_DBTABLENAME'] = "Nome tabela";
+$content['LN_CFG_NAMEOFTHESOURCE'] = "Nome da origem";
+$content['LN_CFG_FIRSTSYSLOGSOURCE'] = "Fonte primária Syslog";
+$content['LN_CFG_DBROWCOUNTING'] = "Habilitar contagem de registro";
+ $content['LN_CFG_VIEW'] = "Select View";
+
+// Details page
+$content['LN_DETAILS_FORSYSLOGMSG'] = "Detalhes para a mensagem com id";
+$content['LN_DETAILS_DETAILSFORMSG'] = "Detalhes para a mensagem com id";
+$content['LN_DETAIL_BACKTOLIST'] = "Voltar para a lista";
+
+?>