diff --git a/src/org/openbravo/erpCommon/ad_forms/Translation.java b/src/org/openbravo/erpCommon/ad_forms/Translation.java
--- a/src/org/openbravo/erpCommon/ad_forms/Translation.java
+++ b/src/org/openbravo/erpCommon/ad_forms/Translation.java
@@ -303,7 +303,7 @@
 			while (rs.next())
 			{
 				Element row = document.createElement (XML_ROW_TAG);
-				row.setAttribute(XML_ROW_ATTRIBUTE_ID, String.valueOf(rs.getInt(2)));	//	KeyColumn
+				row.setAttribute(XML_ROW_ATTRIBUTE_ID, String.valueOf(rs.getLong(2)));	//	KeyColumn
 				row.setAttribute(XML_ROW_ATTRIBUTE_TRANSLATED, rs.getString(1));		//	IsTranslated
 				for (int i = 0; i < trlColumns.length; i++)
 				{
@@ -338,7 +338,7 @@
 			out.createNewFile();
 			//	Transform
 			//transformer.transform (source, result);
-      OutputStreamWriter osw = new OutputStreamWriter(new FileOutputStream (out), "UTF-8");
+			OutputStreamWriter osw = new OutputStreamWriter(new FileOutputStream (out));//, "ISO-8859-1");
       transformer.transform (source, new StreamResult(osw));
       // FIXME: We should be closing the file (out and its related classes) here to make sure that is closed
       // and that is does not really get closed when the GC claims the object (indeterministic)
@@ -409,7 +409,8 @@
   {
 		try
 		{
-			m_IsCentrallyMaintained = (TranslationData.centrallyMaintained(this,Base_Table) != "0");
+		      m_IsCentrallyMaintained = (TranslationData.centrallyMaintained(this,Base_Table) != "0");
+		      m_IsCentrallyMaintained = false;  //???
 		}
 		catch (Exception e)
 		{
diff --git a/src/org/openbravo/erpCommon/ad_forms/Translation_data.xsql b/src/org/openbravo/erpCommon/ad_forms/Translation_data.xsql
--- a/src/org/openbravo/erpCommon/ad_forms/Translation_data.xsql
+++ b/src/org/openbravo/erpCommon/ad_forms/Translation_data.xsql
@@ -63,7 +63,7 @@
           where c.AD_Table_ID=t.AD_Table_ID 
             and upper(c.ColumnName)='ISCENTRALLYMAINTAINED'
             and c.IsActive = 'Y'
-            and upper(t.tableName) = upper(?)
+            and t.tableName = ?
       </Sql>
       <Parameter name="tableName"/>
   </SqlMethod>
