Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: ディン1031 on March 16, 2007, 07:15:19 PM

Title: Load Standard Language (1.0.2)
Post by: ディン1031 on March 16, 2007, 07:15:19 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=615)

This mod load each time the english language files before it load the selected user language.

For what is that good?

If you use for example german as standard language an install a mod it change only the english files this mod load the english files before the german are loaded, so it would at least shown the english txt files so that you can see the text or settings of the mod. (This is only for text not for the pictures, the pictures must be avaible at least for the language!).

Other good example is for Multi Language forum you can install a mod, and let it work and translate step by step the languages you need :).

A other thing what the mod not remove is the error message if some language file is missing for the language! It would load the english one but would not remove the error, because i think at least this should be made even if it only a copy of the english version.

Examlpe in Picform ;)
Here is the Thank You Mod installed, and the selected language is german, you see there is no menü item ;).
(http://www.din1031.de/bilder/boardspic/smf/StandardLoadLanguageExampleBeforeInstall.jpg) (http://www.din1031.de/bilder/boardspic/smf/StandardLoadLanguageExampleBeforeInstall.jpg)

So now i installed the mod, and you see at least the english language information.
(http://www.din1031.de/bilder/boardspic/smf/StandardLoadLanguageExampleAfterInstall.jpg)

The mod have also a option to disable the function if all the language changes are made and the loading of the English language file is not needed any more.

If you install the mod, think that it incrase the server load, because it need to inlude more files. For large forums it could be possible slow down the board.

If you like to donate me some Money. Click Here (http://www.din1031.de/donation/)



Version 1.0.1
!*+- First Release Public


Version 1.0.1 (25.06.07)
- Compatible to SMF 1.1.3


Version 1.0.1 (03.05.08)
- SMF 1.1.5 Compatible


Version 1.0.2 (22.07.08)
- SMF 2.0 Beta 3.1 Compatible
+ Make it more Language Compatible
- Upgrade included ;)



Legend:
! Bugfix
+ New Features
* Changed
- Info Only
Title: Re: Load Standard Language
Post by: robotman321 on March 17, 2007, 11:08:33 PM
interresting i dont use say german but if i did that sure would come in handy
Title: Re: Load Standard Language
Post by: edi67 on March 18, 2007, 11:11:06 AM
hey man always the best for MUI forum
Thx din as usually excellent  ;)
Title: Re: Load Standard Language
Post by: Gourgi on March 18, 2007, 10:17:30 PM
very interesting mod , i'll keep it in my mind and definitely use it when i'll have a multi-language forum ;)
Title: Re: Load Standard Language
Post by: Gourgi on March 24, 2007, 01:37:55 AM
Quote from: DIN1031 on March 16, 2007, 07:15:19 PM
The mod have also a option to disable the function if all the language changes are made and the loading of the English language file is not needed any more.
I just found the admin option for that  :D

Features And Options --> Disable the Load Standard Language Function

Thanks , useful mod  ;)
It will make my life easier with the greek translations in my forum  ;D
Title: Re: Load Standard Language
Post by: brasiweb on January 19, 2008, 11:48:43 PM
I want to download it, can anyone send me an alternative link?

Thanks
Title: Re: Load Standard Language
Post by: ディン1031 on January 20, 2008, 01:18:17 AM
I reuploaded it, now you can download it again...
Title: Re: Load Standard Language
Post by: brasiweb on January 20, 2008, 10:23:05 AM
Thanks!

There are some others mods I can't download, do you have some mods from others authors in your pc?
Title: Re: Load Standard Language
Post by: ディン1031 on January 20, 2008, 12:34:56 PM
Quote from: brasiweb on January 20, 2008, 10:23:05 AM
Thanks!

There are some others mods I can't download, do you have some mods from others authors in your pc?
No ;P

It's enough to have my own collection on the pc.

Bye
DIN1031
Title: Re: Load Standard Language
Post by: MinasC on January 24, 2008, 11:13:33 AM
that is a really great mod man , way to go !
Title: Re: Load Standard Language
Post by: ceewee on January 30, 2008, 09:55:58 AM
Even my countries dutch misses some lines, now not anymore :-)
And have also a smf alllanguage forum with already 92 mods installed
(83 automatic-rest partly manuel) and for that it's very valueable.
http://www.unitedworldforum.net

THXTHXTHX can't thank you enough :-)
Title: Re: Load Standard Language
Post by: edi67 on April 29, 2008, 08:58:10 AM
Hey DIN htere is chance for view this mod working in SMF 2 ? this is one of more useful mod never made please make it compatible

thx again
Title: Re: Load Standard Language
Post by: ディン1031 on April 29, 2008, 02:18:05 PM
Quote from: edi67 on April 29, 2008, 08:58:10 AM
Hey DIN htere is chance for view this mod working in SMF 2 ? this is one of more useful mod never made please make it compatible

thx again
I thought SMF cache each time the complete English language and overwrite it with the current one you use... and store this into a cache (that what i thought *g*).

But i will test it for sure ;).

Bye
DIN1031
Title: Re: Load Standard Language
Post by: Exsharaen on May 19, 2008, 03:25:37 AM
This is indeed a great mod so far. Combined with Language File Compare mod, I can create a more language-friendly forum when installing new mods. Just remember to turn this mod off after finished translating all missing text strings :)

Thanks a lot Din!
Title: Re: Load Standard Language
Post by: edi67 on May 20, 2008, 05:05:20 AM
waiiting impatience thx din
Title: Re: Load Standard Language
Post by: Nibogo on June 08, 2008, 05:21:52 PM
Excelent modification , thanks ^
Title: Re: Load Standard Language
Post by: jossanaijr on July 11, 2008, 01:38:30 PM
Quote from: edi67 on April 29, 2008, 08:58:10 AM
Hey DIN htere is chance for view this mod working in SMF 2 ? this is one of more useful mod never made please make it compatible

thx again
Hi, just found this mod!  But I need it to 2.0 too...
Title: Re: Load Standard Language (1.0.2)
Post by: ディン1031 on July 22, 2008, 11:36:51 AM
So i testet in smf 2.0 and i see this version need a mod like this, too :).
I've allready created one and i need only to test it today, after that i will release the mod (as long the mod work) 8).

Version 1.0.2 (22.07.08)
- SMF 2.0 Beta 3.1 Compatible
+ Make it more Language Compatible
- Upgrade included ;)

Bye
DIN1031
Title: Re: Load Standard Language (1.0.2)
Post by: allumius on November 02, 2008, 11:51:26 AM
i have intall a new smf 1.1.6 and i tray install Load Standard Language but i have this error

Type Action Description
1. Execute Modification LoadStandardLanguage1.1.x.mod Modification parse error

i have no other mod installed
i have smf_1-1-6_spanish_es-utf8
Title: Re: Load Standard Language (1.0.2)
Post by: ディン1031 on November 03, 2008, 01:01:41 AM
Quote from: allumius on November 02, 2008, 11:51:26 AM
i have intall a new smf 1.1.6 and i tray install Load Standard Language but i have this error

Type Action Description
1. Execute Modification LoadStandardLanguage1.1.x.mod Modification parse error

i have no other mod installed
i have smf_1-1-6_spanish_es-utf8
There is a problem with you package manager ;).
Did you give the package directory the permission to write (777)?

Bye
DIN1031
Title: Re: Load Standard Language (1.0.2)
Post by: sombra on January 11, 2009, 11:27:28 AM
nice mod

but tell me somthing i notice since i put my forum on spanish and this mod that aim getting an error on help menu on the administrator it says

Fatal error: Cannot create references to/from string offsets nor overloaded objects in /home/todoile1/public_html/Sources/Help.php on line 108

im using smf 2.04
Title: Re: Load Standard Language (1.0.2)
Post by: ディン1031 on January 11, 2009, 11:41:42 AM
Okay i will look at it.
After i reinstall my complete pc ;). (Could be take some time/days)

Bye
DIN1031
Title: Re: Load Standard Language (1.0.2)
Post by: c23_Mike on March 19, 2009, 09:49:22 AM
Hi there !

Am I correct that in SMF 2.0 RC1 it will not work? At install it do not modify one file, but says it is correctly installed. So I also do not have the option to disable or enable it in the admin panel (features & options)?
Title: Re: Load Standard Language (1.0.2)
Post by: c23_Mike on March 19, 2009, 11:49:18 AM
Hi there !

I would wonder if I am the first SMF RC1 User who needs this genious mod!

But as much I needed it I looked into the package and look why it doesn´t do anything.

In the file package-info.xml there are the lines:

   <install for="2.0 Beta 3.1 Public, 2.0 Beta 4">

and
   <uninstall for="2.0 Beta 3.1 Public, 2.0 Beta 4">

As you may think, the actual 2.0 RC1 is here missing, just put this in:

   <install for="2.0 Beta 3.1 Public, 2.0 Beta 4, 2.0 RC1">
...
   <uninstall for="2.0 Beta 3.1 Public, 2.0 Beta 4, 2.0 RC1">


and install it now to your SMF. Voila it modifies the needed files and work perfectly with the actual RC1!
Title: Re: Load Standard Language (1.0.2)
Post by: ディン1031 on March 19, 2009, 12:52:41 PM
Yes i thought smf solved the problem with language, so that missing items will be loaded at least English. But i think it does not work. I will update the mod ;).
Title: Re: Load Standard Language (1.0.2)
Post by: ディン1031 on March 19, 2009, 12:55:19 PM
Quote from: c23_Mike on March 19, 2009, 09:49:22 AM
Hi there !

Am I correct that in SMF 2.0 RC1 it will not work? At install it do not modify one file, but says it is correctly installed. So I also do not have the option to disable or enable it in the admin panel (features & options)?
It's under Features and Options -> Layout -> Disable the Load Standard Language Function

Bye
DIN1031
Title: Re: Load Standard Language (1.0.2)
Post by: c23_Mike on March 20, 2009, 01:41:59 AM
Hi there !

As I have installed the files correctly it works perfect. i know the thing from the 1.1.8 version. Please put these "install" info for RC1 on the mod site, I think lot of people will have the same problem.
Title: Re: Load Standard Language (1.0.2)
Post by: ディン1031 on March 20, 2009, 07:35:01 AM
Quote from: c23_Mike on March 20, 2009, 01:41:59 AM
Hi there !

As I have installed the files correctly it works perfect. i know the thing from the 1.1.8 version. Please put these "install" info for RC1 on the mod site, I think lot of people will have the same problem.
It's there, since yesterday :P
Title: Re: Load Standard Language (1.0.2)
Post by: djkmmo on May 25, 2009, 12:36:05 PM
Hi!

Is i t possible to use this mod with 1.1.19 to?
Title: Re: Load Standard Language (1.0.2)
Post by: Nibogo on May 25, 2009, 02:57:25 PM
Quote from: djkmmo on May 25, 2009, 12:36:05 PM
Hi!

Is i t possible to use this mod with 1.1.19 to?

Works great on SMF 1.1.9
Title: Re: Load Standard Language (1.0.2)
Post by: ディン1031 on May 26, 2009, 04:02:44 AM
So now it work with 1.1.9 i forgot to upload the package :X.
Title: Re: Load Standard Language (1.0.2)
Post by: djkmmo on May 26, 2009, 11:05:58 AM
Quote from: NIBOGO on May 25, 2009, 02:57:25 PM
Quote from: djkmmo on May 25, 2009, 12:36:05 PM
Hi!

Is i t possible to use this mod with 1.1.19 to?

Works great on SMF 1.1.9
Great, just installed it.

Here is the swedish language string for the mod:
$txt['disableLoadStandardLanguage'] = 'Inaktivera laddning av standardspråk (engelska)';
Title: Re: Load Standard Language (1.0.2)
Post by: Sabre™ on October 08, 2009, 08:33:26 PM
Great mod!
Thanks buddy :)
Title: Re: Load Standard Language (1.0.2)
Post by: ErnieB on October 14, 2009, 02:00:19 PM
hmmm, got a test failed on one of my forums regarding the modsettings.php  any clue what i need to do?
Title: Re: Load Standard Language (1.0.2)
Post by: Sabre™ on October 14, 2009, 02:14:40 PM
You will need to edit that template manually.
But do not upload your edited template until you have installed the mod.
Title: Re: Load Standard Language (1.0.2)
Post by: ErnieB on October 14, 2009, 02:46:02 PM
So go ahead and install the mod regardless of the error warning and then manually edit that modsettings.php?
Title: Re: Load Standard Language (1.0.2)
Post by: TwitchisMental on October 14, 2009, 02:50:02 PM
Great mod man. I am sure it will come in handy for multi language boards :D.
Title: Re: Load Standard Language (1.0.2)
Post by: Neverhurry on November 15, 2009, 04:43:07 PM
is it any hope to upgrade this mod to support SMF 2.o RC2? thanks!
Title: Re: Load Standard Language (1.0.2)
Post by: ディン1031 on November 16, 2009, 01:23:06 AM
Hmmm i thought in the new version this will automatic work that the english language is insert in the files oO... okay i will update it.

Updated ;).
Title: Re: Load Standard Language (1.0.2)
Post by: ErnieB on December 28, 2009, 08:08:13 PM
any chance of updating this to work with 1.1.11??
Title: Re: Load Standard Language (1.0.2)
Post by: ディン1031 on December 29, 2009, 02:44:35 AM
Yes ist work with 1.1.11 hmm oh forget to update the package... no it's updated should work.
Title: Re: Load Standard Language (1.0.2)
Post by: ChaosEnergy on January 03, 2010, 04:20:31 AM
Thanks for this great MOD!

I just found a little glitch

Thank You MOd install language in english and german...but i use english-utf
the thank you text in posts, where i click for a thank you are missing in utf8

so maybe it does not load missing language for the utf version, at least for english???
Title: Re: Load Standard Language (1.0.2)
Post by: ディン1031 on January 03, 2010, 06:49:55 AM
If you use utf8 it use the english utf8 as standard... i will not use diffrent charsets for the output, i could insert a every time load of the standard language but it took 1 file per load on utf8 and it could be possible not readable afterward (because of non utf8 characters).

I must think about it... possible i will insert a option for it... because this could be fast a lot files that are loaded...
Title: Re: Load Standard Language (1.0.2)
Post by: Acer1 on January 10, 2010, 11:16:40 AM
This Mod for SMF2 - RC2  ???

Greets Acer !
Title: Re: Load Standard Language (1.0.2)
Post by: Bugo on January 12, 2010, 10:36:44 AM
Russian translation:

$txt['disableLoadStandardLanguage'] = 'Отключить использование языка по умолчанию';
Title: Re: Load Standard Language (1.0.2)
Post by: ディン1031 on January 14, 2010, 12:28:07 PM
Quote from: Acer1 on January 10, 2010, 11:16:40 AM
This Mod for SMF2 - RC2  ???

Greets Acer !
Yes it work with rc2 ;).

Quote from: Bugo on January 12, 2010, 10:36:44 AM
Russian translation:

$txt['disableLoadStandardLanguage'] = 'Отключить использование языка по умолчанию';
Thank You :), i will insert it.
Title: Re: Load Standard Language (1.0.2)
Post by: netsector on January 27, 2010, 08:12:52 AM
I have problem with installation this mod. on SMF 1.1.11

QuoteInstallations actions for "Load Standard Language    1.0.2":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.


Title: Re: Load Standard Language (1.0.2)
Post by: ディン1031 on January 28, 2010, 03:09:39 PM
Quote from: netsector on January 27, 2010, 08:12:52 AM
I have problem with installation this mod. on SMF 1.1.11

QuoteInstallations actions for "Load Standard Language    1.0.2":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Hmm are you sure the package is correct? Can you're server unpack it? Because it tested it and it work fine.
Title: Re: Load Standard Language (1.0.2)
Post by: Sabre™ on January 28, 2010, 03:20:26 PM
Would it be possible to use the default language images aswell mate?
Title: Re: Load Standard Language (1.0.2)
Post by: ディン1031 on February 02, 2010, 12:34:03 AM
Quote from: Sabre™ on January 28, 2010, 03:20:26 PM
Would it be possible to use the default language images aswell mate?
Nope this is not so easy and will be only working if the standard function would be used and which theme use the standard function... nearly no theme. And in the new smf version with the new theme this would be more impossible to do...
Title: Re: Load Standard Language (1.0.2)
Post by: Arantor on February 02, 2010, 02:12:26 AM
o.O I thought 2.0 RC2 did this as standard anyway...?
Title: Re: Load Standard Language (1.0.2)
Post by: ディン1031 on February 02, 2010, 02:15:45 PM
Quote from: Arantor on February 02, 2010, 02:12:26 AM
o.O I thought 2.0 RC2 did this as standard anyway...?
I thought it, too...
Title: Re: Load Standard Language (1.0.2)
Post by: Membre on March 07, 2010, 03:27:36 PM
This should come default with smf :) nice mod!
Title: Re: Load Standard Language (1.0.2)
Post by: Arantor on March 07, 2010, 03:28:15 PM
Funnily enough it's supposed to in RC2 onwards...
Title: Re: Load Standard Language (1.0.2)
Post by: ディン1031 on March 09, 2010, 01:47:00 AM
Yes it should be allready work in smf2... but somehow it doesn't :(. (I hope in RC3 it work)
Title: Re: Load Standard Language (1.0.2)
Post by: rjckE on March 25, 2010, 11:46:20 PM
Does this work in RC3? This is the most important mod I have to install in my forums. Did anyone try this mod on RC3?
Title: Re: Load Standard Language (1.0.2)
Post by: ディン1031 on March 26, 2010, 07:33:35 AM
Normal it sould be installable, but normal smf should do the work allready as fahr i know :(
Title: Re: Load Standard Language (1.0.2)
Post by: rjckE on March 27, 2010, 05:32:54 AM
Quote from: ディン1031 on March 26, 2010, 07:33:35 AM
Normal it sould be installable, but normal smf should do the work allready as fahr i know :(

And does normal RC3 do the work or it still doesn't??
Title: Re: Load Standard Language (1.0.2)
Post by: ディン1031 on March 29, 2010, 12:31:29 AM
Good question i will find out today :D. (Because yesterday i was to busy with othere stuff <<)
Title: Re: Load Standard Language (1.0.2)
Post by: rjckE on March 30, 2010, 12:27:51 PM
Quote from: ディン1031 on March 29, 2010, 12:31:29 AM
Good question i will find out today :D. (Because yesterday i was to busy with othere stuff <<)

Did u find the answer? :P
Title: Re: Load Standard Language (1.0.2)
Post by: ディン1031 on March 31, 2010, 03:31:08 AM
Yes it work on most cases =).
Title: Re: Load Standard Language (1.0.2)
Post by: rjckE on March 31, 2010, 07:08:49 AM
Quote from: ディン1031 on March 31, 2010, 03:31:08 AM
Yes it work on most cases =).

hehe, it's ok :)
so i don't need anymore this plugin?
Title: Re: Load Standard Language (1.0.2)
Post by: ディン1031 on April 01, 2010, 03:25:29 AM
Normal, not. I could only not test if it load the english file if the language based file is missing...
Title: Re: Load Standard Language (1.0.2)
Post by: Limbotanz001x on April 18, 2010, 08:09:06 AM
hello,


it doesnt work for me on RC3, i tried everythink but not im tired. could you help me please?
Title: Re: Load Standard Language (1.0.2)
Post by: ディン1031 on April 19, 2010, 12:41:07 AM
This Mod is not working with RC3... SMF iteself should do the work now oO...
Title: Re: Load Standard Language (1.0.2)
Post by: Arantor on April 19, 2010, 08:51:28 AM
DIN, I investigated the behaviour in 2.0 RC2/3 as to specifically what it does do. Seems the claims were somewhat vague.

Modifications.english.php is always loaded before any Modifications.otherlanguage.php, but for other language files, English isn't loaded first by default.

I encountered this with SimpleDesk, so I included a wrapper around loadLanguage to force it to load other languages too.
Title: Re: Load Standard Language (1.0.2)
Post by: mgrmgr on September 07, 2010, 10:35:58 AM
Quote from: Arantor on April 19, 2010, 08:51:28 AM
...
so I included a wrapper around loadLanguage to force it to load other languages too.

is this wrapper available anywhere??? I'd love to have it because I have the same problem not only with SimpleDesk but a lot of other modifications also :(
Title: Re: Load Standard Language (1.0.2)
Post by: X3mE on September 19, 2010, 10:49:37 PM
I can confirm RC3 doesn't do the loading itself. An updated version would be nice. :)
Title: Re: Load Standard Language (1.0.2)
Post by: ディン1031 on April 19, 2011, 12:10:48 PM
If someone else will update my mod i give the rights to anyone who like to update it. ;)