News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Bulgarian translation and $forum_copyright

Started by ep98, July 13, 2006, 08:49:05 AM

Previous topic - Next topic

ep98

The translation is nearly done (allmost everything is covered) except lines 413-414
$forum_copyright =


$forum_copyright = '<a href="http://www.simplemachines.org/" title="Simple Machines Forum" target="_blank">Powered by ' . $forum_version . '</a> |
<a href="http://www.simplemachines.org/about/copyright.php" title="Free Forum Software" target="_blank">SMF &copy; 2001-2005, Lewis Media</a>';


Few words have to be changed too here, but Forum says, u are use illegal version of SMF or something like that.

First version have to be like this (total conversion, which I dont like it, but some ppl prefer it).

$forum_copyright = '<a href="http://www.simplemachines.org/" title="Форум Опростени Машини" target="_blank">Създадено с ' . $forum_version . '</a> |
<a href="http://www.simplemachines.org/about/copyright.php" title="Безплатен софтуер за създаване на форуми" target="_blank">SMF &copy; 2001-2005, Lewis Media</a>';


or version 2, which is more better to me


$forum_copyright = '<a href="http://www.simplemachines.org/" title="Simple Machines Forum" target="_blank">Създадено с ' . $forum_version . '</a> |
<a href="http://www.simplemachines.org/about/copyright.php" title="Безплатен софтуер за създаване на форуми" target="_blank">SMF &copy; 2001-2005, Lewis Media</a>';


both variations cant be done, is there a way (hopefuly for the next RC) to change this 2 tags ?

Thanks in advance.
May The Source Be With You !

Harzem

You won't change or translate the copyright. It should stay as it is in english file.

ep98

ok, will remain as is, next trouble

the translation is in Unicode, all settings are:


$txt['lang_locale'] = 'bg_BG.UTF-8';
$txt['lang_dictionary'] = 'bg';
$txt['lang_spelling'] = 'bulgarian';

// Character set and right to left?
$txt['lang_character_set'] = 'UTF-8';
$txt['lang_rtl'] = false;


We are using cyrillic, and ltr direction.

Everything during user posts are ok, except the translated symbol for R, in cyrillic comes as english P, but now looks as ?


R in English, Р in Bulgarian


Here is displayed without problems, but not and on RC2
http://forums.cms-bg.org/index.php?topic=6.msg13#msg13 [nofollow]

Any suggestions ?

The enviroment is:
PHP 4.4.0
Apache 2.0.55
FreeBSD x86
May The Source Be With You !

Compuart

Try:
$txt['lang_character_set'] = 'windows-1251';
because that's the default cyrillic character set. Unless you're using a UTF-8 editor (with the document settings configured to be UTF-8), your text documents are most likely in this character set.
Hendrik Jan Visser
Former Lead Developer & Co-founder www.simplemachines.org
Personal Signature:
Realitynet.nl -> ExpeditieRobinson.net / PekingExpress.org / WieIsDeMol.Com

ep98

Do not "force me" to use the Russian charset CP1251
I allready have over 50 GPL Applications translated to Bulgarian in UTF-8, all works except SMF 1.1 RC2

Bug is discovered, it depend on the main default SMF Core theme. now the same forum uses pnpn 1.2 and works just fine.

After discovering of UTF-8 all language incompatibilites goes in hell , specialy for multi language content sites, it will be better to set the core to USE UTF-8 by default instead of ISO8859-1 it will be much more compatible.
May The Source Be With You !

Compuart

Of course you are free to chose the character set yourself. Using UTF-8 should be fine in most cases, but it's not fully supported by SMF 1.1 RC2 yet. SMF 1.1 RC3 will have full UTF-8 support.
Hendrik Jan Visser
Former Lead Developer & Co-founder www.simplemachines.org
Personal Signature:
Realitynet.nl -> ExpeditieRobinson.net / PekingExpress.org / WieIsDeMol.Com

ep98

Yep few "manual" intervention have to be done to have fully supported UTF-8 SMF 1.1 RC2, suggestions in this style - "use the default or mostly used charset" is not a good way, better developer of the default theme have to check the code, which is better for manualy patched SMF :)

Pn-Pn 1.2 Theme designer is a step forward from the one created SMF 1.1 RC2 default core theme :)
May The Source Be With You !

Advertisement: