Elxis CMS Forum

Extensions => Components => Topic started by: gabi4a on March 08, 2010, 13:30:41

Title: Problem with translate
Post by: gabi4a on March 08, 2010, 13:30:41
Hello! I want to ask how to add new language in one of the components ISO Download? I translated the component but when I try to use Bulgarian show the default language (English).I give link to the translation can be used.No problems with other languages is loaded normally! Any ideas how to fix this? Thanks in advance!

Download Bulgarian Language (http://hotfile.com/dl/31756479/e335e25/Bulgarian.zip.html)
Title: Re: Problem with translate
Post by: speck on March 08, 2010, 15:45:10
i've tried and it works right. ;)

have you copied the two language files in the right IOS Download directory? (\administrator\components\com_downloads\language)
have you enable bulgarian language in front-end?
if u use a primary language, have you setted bulgarian language in IOS Download configuration as secondary language ?
Title: Re: Problem with translate
Post by: gabi4a on March 08, 2010, 20:40:03
So the problem is this: I use bulgarian as primary language, have two files and copy to the directory (\administrator\components\com_downloads\language) choose the Bulgarian language from the front-end, but remains english or another language no Bulgarian.  :)
Title: Re: Problem with translate
Post by: speck on March 09, 2010, 00:50:31
i don't know why happen to you so.
in any case i've checked your files.
you included the unicode signature (BOM) and this is not right.
the language file must be encoded utf8, without unicode signature (BOM)

clickin on download to download the file, elxis gives four error like this

PHP Грешка [Warning]
URI: index.php?option=com_downloads&task=download&id=54
Path: \components\com_downloads\downloads.php
Line: 913
Cannot modify header information - headers already sent by (output started at D:\www_seacube\language\bulgarian\bulgarian.gemini.php:154)
PHP Грешка [Warning]
URI: index.php?option=com_downloads&task=download&id=54
Path: \components\com_downloads\downloads.php
Line: 914
Cannot modify header information - headers already sent by (output started at D:\www_seacube\language\bulgarian\bulgarian.gemini.php:154)
PHP Грешка [Warning]
URI: index.php?option=com_downloads&task=download&id=54
Path: \components\com_downloads\downloads.php
Line: 915
Cannot modify header information - headers already sent by (output started at D:\www_seacube\language\bulgarian\bulgarian.gemini.php:154)
PHP Грешка [Warning]

to solve this download the patch for elxis /language/bulgarian


[attachment deleted by admin]
Title: Re: Problem with translate
Post by: gabi4a on March 09, 2010, 11:12:34
Thank you very much - the problem is solved!  ;)