News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Multilingual Board Name and Description (V1.1.1)

Started by ディン1031, July 05, 2008, 05:58:29 PM

Previous topic - Next topic

ディン1031

Link to Mod

This Mod give the Admin the ability to use different descriptions and names for different languages on a board. Most time Boards with multiple language could find this usefull. The mod can also store the array for the languages into a file and load it over the file, it's useful on boards with many boards and many users ;). (For this the file should be writable!).

Follow Languages are included:
English (utf8), Português (utf8) (Portuguese) and Deutsch (utf8) (German)

If you like to donate me some Money. Click Here



Version 1.0.1:
- First Release


Version 1.1.0 (22.07.08):
+ Boardname Included, Currently on Stats, Board Index, Message Index, Display, Profile, Notify and Search
! Admin Check for Disable Cache File Fix
! Language Query Bug Fix (Never used it in that way, but now i need it ;D)
! Not updated cache file after change fixed...
- Renamed the Mod 8)
- Upgrade Included.


Version 1.1.1 (07.06.09):
! All Languages with an "_" did not work and also afterward the languages are not correct detected...
- Upgrade Included



Legend:
! Bugfix
+ New Feature
* Changed
- Info Only
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

Apllicmz

Good work
nice mod

translate portuguese and brazilian suporte utf8

Quote<?xml version="1.0"?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
   <id>din1031:MultiLingualBoardDescription</id>
   <version>1.0.1</version>
   <info>Install the portuguese Language fot the Multi Language Board Description</info>
   <homepage>http://www.ayu-kult.de</homepage>
   <file name="$languagedir/Modifications.portuguese.php" error="skip">
      <operation>
         <search position="end" />
         <add><![CDATA[
//Multilingual Board Descriptions
$txt['mui_bords_language'] = 'Língua quadro descrição';
$txt['mui_bords_language_desc'] = 'Editar Idioma descrição';
$txt['mui_bords_language_file_chache'] = 'Activar arquivo cache das Línguas e Descrição';
$txt['mui_bords_language_file_chache_desc'] = 'o ChacheBoardDescription.php na pasta sourcedir não é subsescrevivel!';
]]></add>
      </operation>
   </file>
</modification>

<?xml version="1.0"?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
<id>din1031:MultiLingualBoardDescription</id>
<version>1.0.1</version>
<info>Install the portuguese Language fot the Multi Language Board Description</info>
<homepage>http://www.ayu-kult.de</homepage>
<file name="$languagedir/Modifications.portuguese-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
//Multilingual Board Descriptions
$txt['mui_bords_language'] = 'L&iacute;ngua quadro descri&ccedil;&atilde;o';
$txt['mui_bords_language_desc'] = 'Editar Idioma descri&ccedil;&atilde;o';
$txt['mui_bords_language_file_chache'] = 'Activar arquivo cache das L&iacute;nguas e Descri&ccedil;&atilde;o';
$txt['mui_bords_language_file_chache_desc'] = 'o ChacheBoardDescription.php na pasta sourcedir n&atilde;o &eacute; subsescrevivel!';
]]></add>
</operation>
</file>
</modification>



edi67

great but i really want it for my smf 2.0 board i hope soon witl be released thx din
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

ディン1031

#3
Some Nice Changes done ;D

Version 1.1.0 (22.07.08):
+ Boardname Included, Currently on Stats, Board Index, Message Index, Display, Profile, Notify and Search
! Admin Check for Disable Cache File Fix
! Language Query Bug Fix (Never used it in that way, but now i need it ;D)
! Not updated cache file after change fixed...
- Renamed the Mod 8)
- Upgrade Included.

I forgot to say after the upgrade, don't forget to enable the file cache again if you need it ;).

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

edi67

very great mod i cannot wait for smf2 version update ;)
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Manu.G

Hi Din,

that's what I was looking for a long time. :D
I tried to install the mod, but it gets in conflict with the mod "View only Boards".
Some of the errors I could edit for the install, but I'm lost now with the errors in the Load.php and Recent.php.
Reinstall of the mod "View only Boards" isn't possible cause of all the other added modifications after I installed it.
Can you please take a look at my Load.php and Recent.php and correct the codes in the way I can install your mod with the package manager?

Thanks in advance for your help.
Version SMF 2.0.8
SimplePortal 2.3.5

mforum

I have a lot of file failures during installation from package manager ..........  :o

To manually install the mod , i need to make all changes from *.mod file plus to add txt in modifications.english.php  ???

Do i have to execute install_1.x.x.php too ?????

ディン1031

Quote from: mforum on August 04, 2008, 04:45:15 AM
I have a lot of file failures during installation from package manager ..........  :o

To manually install the mod , i need to make all changes from *.mod file plus to add txt in modifications.english.php  ???

Do i have to execute install_1.x.x.php too ?????
Yes mforum you have to make the changes in the database, too :x.
Without you can not change to a other name or description oO.

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

misha3

Hi all,

I seem to have an error message related to this mod - not 100% sure anyway ...

I installed version 1.10Fix of this mod to 1.1.7 (see screenshot) end of last year (now it's 1.1.8 of course). I'm getting messages like 8: Undefined variable: boards
File: /forum/Sources/Recent.php
Line: 526
?action=unread;board=2.0
in the Forum Error Log.

Line 526 in Recent.php is:
//Chacka i know the boards ;D i love smf ;P did someone read this *g*
load_boardDescriptions($boards);
which brought me to this mod - and I did not find out, where this missing variable $boards should have been defined.

Anyone else has seen this error message?

Best regards
Micha

ディン1031

#9
Hmmm possible thats related to the unread function, i will look at it. Possible if you use specific boards to look for unread content that doesn't fill the variable.

Ah easy fix could be

//Chacka i know the boards ;D i love smf ;P did someone read this *g*
load_boardDescriptions($boards);


Replace with

//Chacka i know the boards ;D i love smf ;P did someone read this *g*
if(!empty($boards))
load_boardDescriptions($boards);


But it's possible i fix it in the next days :).

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

misha3

Hi,

thanks a lot for the quick support!

I have put it in and will check whether it comes up again! :-)

regards,
Micha

edi67

CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

ディン1031

Quote from: edi67 on March 27, 2009, 10:12:56 AM
i hope to see it for smf 2 thx Din
Yes there will be one, but i will do that on my next vacation...
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

NoidBer

Hello!

First of all, thanks for this mod!!

This my fast translation for Spanish:
$txt['mui_bords_language'] = 'Descripción del foro en el idioma';
$txt['mui_bords_language_desc'] = 'Editar la descripción en el idioma';
$txt['mui_bords_language_file_chache'] = 'Permitir caché de fichero para la descripción en el idioma';
$txt['mui_bords_language_file_chache_desc'] = '¡El fichero ChacheBoardDescription.php en el directorio de fuentes no es modificable!';

I have installed this mod, but I have some problems. I'm using this languages:
Default English: Work
Spanish_es: Don't work
Portuguese_pt: Don't work
German: Work
Italian-utf8: Don't work

I have also installed the LanguageDrop mod.

ディン1031

Hmmm normal it should work with the all languages... i will test this after my exam. (But normal i'm sure it should work).

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

NoidBer

Quote from: ディン1031 on May 27, 2009, 10:31:09 AM
Hmmm normal it should work with the all languages... i will test this after my exam. (But normal i'm sure it should work)

Thank you

ディン1031

#16
Quote from: NoidBer on June 07, 2009, 05:45:34 AM
Quote from: ディン1031 on May 27, 2009, 10:31:09 AM
Hmmm normal it should work with the all languages... i will test this after my exam. (But normal i'm sure it should work)

Thank you
Hmm do you mix utf8 and normal? :x

Okay you're right... it's a bug...
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

ディン1031

Version 1.1.1 (07.06.09):
! All Languages with an "_" did not work and also afterward the languages are not correct detected...
- Upgrade Included

Should fix the bug that NoidBer mentioned...
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

Eclipse16V

I worked with:
SMF 2 in German

Shop:
SID Giessen

Shannar

How about Category? It's possible to add they change to this mode?
Sorry for terrible English. My native language is C++ Russian.

Advertisement: