Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: ディン1031 on January 22, 2008, 11:03:32 PM

Title: Language File Compare
Post by: ディン1031 on January 22, 2008, 11:03:32 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1071)

This is a Tool to help Admins of SMF find Missing Text Variables and Files. The Mod List all the Variables which in the Standard English Language but not in the Other Language and show them to the Admin. With it the Admin can see what he need to translate and where to put the Translation into. It also show missing Files of Translations.

The Mod Itself try to load the English Standard Translation if the Mod is not translated to your language. (See the Japanese Picture, what this mean *g*).

This Mod will not Fix the Things, its only a tool to find the missing things, the Admin must fix it self! But with that tool it should be a lot easier ;).

If you like to have a Mod that automatic replace all Missing Text Vars with the English ones, try this mod -> Load Standard Language (http://custom.simplemachines.org/mods/index.php?mod=615) <-.

Current Languages: English (utf8), Ελληνικά (Greek)(utf8) and Deutsch (utf8) (German).

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

Version 1.0.0 (21.01.08)
!*-+ First Release


Version 1.0.0 (23.01.08)
+ Add Greek Translation made by MinasC


Version 1.0.1 (22.03.08)
! Removed a "item" eval Bug
- Upgrade Included

Legend:
! Bugfix
+ New Feature
* Changed
- Info Only
Title: Re: Language File Compare
Post by: edi67 on January 23, 2008, 04:25:01 AM
bravo as always ;)
Title: Re: Language File Compare
Post by: MinasC on January 23, 2008, 07:12:38 AM
that is a really great mod , way to go mate ! thnx a lot for this !

Quote from: ディン1031 on January 22, 2008, 11:03:32 PMThe Mod Itself try to load the English Standard Translation if the Mod is not translated to your language. (See the Japanese Picture, what this mean *g*).

does that mean that any non-translated text will be automatically replaced by the existing english one ? cause that would be really great !
Title: Re: Language File Compare
Post by: MinasC on January 23, 2008, 07:36:22 AM
here is the greek translation !
Title: Re: Language File Compare
Post by: au8ust on January 23, 2008, 08:11:36 AM
Really nice mod! Thanks!
Title: Re: Language File Compare
Post by: ディン1031 on January 23, 2008, 08:16:48 AM
Quote from: MinasC on January 23, 2008, 07:12:38 AM
that is a really great mod , way to go mate ! thnx a lot for this !

Quote from: ディン1031 on January 22, 2008, 11:03:32 PMThe Mod Itself try to load the English Standard Translation if the Mod is not translated to your language. (See the Japanese Picture, what this mean *g*).

does that mean that any non-translated text will be automatically replaced by the existing english one ? cause that would be really great !
No for there is the Mod -> Load Standard Language (http://custom.simplemachines.org/mods/index.php?mod=615).

I insert the English thing, because if you not see it how will you try to compare and find the missing strings, i thought at least should be the English version shown, even on not translated Versions. This is only a helper, that try to help the Admin to find missing text strings and files.

Thanks for the Translations i will insert it :D

Bye
DIN1031
Title: Re: Language File Compare
Post by: Apllicmz on January 23, 2008, 01:29:07 PM
nice work
good Mod
Title: Re: Language File Compare
Post by: MinasC on January 24, 2008, 11:00:50 AM
ok thnx !
Title: Re: Language File Compare
Post by: kamili34 on January 25, 2008, 08:49:42 PM
Thanks I'll check it
Title: Re: Language File Compare
Post by: уιℓмαz on January 27, 2008, 11:08:46 AM
Thanks for the modification. It's very useful :)

Turkish translation:


//Langauge Compare Standard Language Strings =)
$txt['langCompare_titel'] = 'Dil Dosyalarını Karşılaştır';
$txt['langCompare_desc'] = 'Bu araç eksik <b>Dil Değerlerini</b> ve <b>Dil Dosyalarını</b> diğer dillerde arar, açıklamaları doğru olarak uygularsanız forumunuz daha da hızlanır!';
$txt['langCompare_CompareTitel'] = 'Dil Dosyalarını Karşılaştır';
$txt['langCompare_CompareDesc'] = 'Seçili dil ile İngilizce dil dosyaları karşılaştırıldı';
$txt['langCompare_noMasterLanguage'] = 'Üzgünüm, standart İngilizce dil dosyaları bulunamıyor!';
$txt['langCompare_noSecondLanguage'] = 'Üzgünüm, bu modifikasyon karşılaştırma için en az iki dile ihtiyaç duyar...';
$txt['langCompare_selectLanguage'] = 'Lütfen karşılaştırmak için bir dil seçin';
$txt['langCompare_startCompare'] = 'Karşılaştır!';
$txt['langCompare_compareWith'] = 'Standart Dil İle Karşılaştır';
$txt['langCompare_missingFiles'] = 'Aşağıdaki dosyalar eksik';
$txt['langCompare_noMissingFiles'] = 'Tüm dil dosyaları yüklü.';
$txt['langCompare_MissingCopyDir'] = 'Dil dosyaları adresinde';
$txt['langCompare_MissingCopyFile'] = ' ';
$txt['langCompare_MissingCopyTo'] = 'dosyasını kopyalayın';
$txt['langCompare_MissingCopyInfo'] = 'Bunu yaptığınızda hata kayıtlarındaki bazı hatalar düzelecektir.';
$txt['langCompare_missingStrings'] = 'Aşağıdaki değerler eksik';
$txt['langCompare_noMissingStrings'] = 'Eksik değer bulunmadı!';
$txt['langCompare_inTheFile'] = ' ';
$txt['langCompare_appearFollowString'] = 'dosyasındaki bazı değerler eksik';
$txt['langCompare_Variable'] = 'Değer Adı';
$txt['langCompare_TextString'] = 'İngilizce Karşılığı';
$txt['langCompare_MissingStringInfo'] = 'Satırlardaki eksik değerleri dil dosyanızda tanımlarsanız bazı hatalar giderilebilir.';


Title: Re: Language File Compare
Post by: ディン1031 on January 28, 2008, 12:57:52 AM
Thx :). I will add it later, after i come back home from work.

Bye
DIN1031
Title: Re: Language File Compare
Post by: MissyNL on March 25, 2008, 01:44:49 PM
Hi!

I haqve installed the MOD, but know i can not get into my admin page of the forum. The page stays white.

What should i do?
Title: Re: Language File Compare
Post by: ディン1031 on March 26, 2008, 01:53:03 AM
Quote from: Lafemme on March 25, 2008, 01:44:49 PM
Hi!

I haqve installed the MOD, but know i can not get into my admin page of the forum. The page stays white.

What should i do?
oO i don't now what happen, normal it add only one item to the Admin Index and one Item to the Admin.template.php. If something went wrong than there should be error not a white page.
And the change i do is not so extreme that it not should work any more <<.

Did you only install this mod or some other mods, too?

Bye
DIN1031
Title: Re: Language File Compare
Post by: MissyNL on March 26, 2008, 06:18:03 AM
Hi,

I have installed also other mods. like ultimate profile, user comments and tinyportal.

Luckly i have a backup, so im resetting it now  :D

Maybe, when i have reset it, can you take a look?
Thanks!

Title: Re: Language File Compare
Post by: Exsharaen on May 19, 2008, 03:10:32 AM
Hi Din1031,

I found it's a brilliant mod so far! I have multilanguage forum, and sometimes it's annoying to install new mods and didn't find the extra setting because of missing text. Yes it can be replaced with English with mod you mentioned before, but it's not comfortable to leave it in English while the rest are in other language. Now I can have 100% translated forum with this mod. You did save me hours of work finding those missing strings manually. Thanks a lot!

I will surely recommend this mod to others who have multilingual forums as well.

And, here is the Indonesian translation.

//Langauge Compare Standard Language Strings =)
$txt['langCompare_titel'] = 'Perbandingan Berkas Bahasa';
$txt['langCompare_desc'] = 'Mod ini menunjukkan <b>teks</b> atau <b>berkas</b> dalam bahasa lainnya. Jika Anda memasukkan semuanya dengan benar, forum Anda akan dipercepat!';
$txt['langCompare_CompareTitel'] = 'Bandingkan Berkas-Berkas Bahasa';
$txt['langCompare_CompareDesc'] = 'Membandingkan berkas bahasa Inggris dengan bahasa terpilih';
$txt['langCompare_noMasterLanguage'] = 'Maaf, tidak dapat menemukan berkas bahasa Inggris standar!';
$txt['langCompare_noSecondLanguage'] = 'Maaf, Mod ini membutuhkan setidaknya dua bahasa untuk dibandingkan...';
$txt['langCompare_selectLanguage'] = 'Silakan pilih bahasa yang akan dibandingkan';
$txt['langCompare_startCompare'] = 'Mulai Bandingkan!';
$txt['langCompare_compareWith'] = 'Bandingkan bahasa standar (Inggris) dengan';
$txt['langCompare_missingFiles'] = 'Berkas-berkas berikut tidak ditemukan';
$txt['langCompare_noMissingFiles'] = 'Seluruh berkas untuk bahasa ini ditemukan';
$txt['langCompare_MissingCopyDir'] = 'Dalam direktori';
$txt['langCompare_MissingCopyFile'] = 'Salin berkas';
$txt['langCompare_MissingCopyTo'] = 'ke';
$txt['langCompare_MissingCopyInfo'] = 'Setelah Anda melakukannya, kesalahannya akan menghilang pada log kesalahan.';
$txt['langCompare_missingStrings'] = 'Teks berikut tidak ditemukan';
$txt['langCompare_noMissingStrings'] = 'Tidak ada teks yang tidak ditemukan!';
$txt['langCompare_inTheFile'] = 'ada dalam berkas';
$txt['langCompare_appearFollowString'] = 'Teks berikut tidak ditemukan dalam berkas';
$txt['langCompare_Variable'] = 'Nama Variabel';
$txt['langCompare_TextString'] = 'Teks Asli Bahasa Inggris';
$txt['langCompare_MissingStringInfo'] = 'Normal jika Anda menyalin baris-baris yang benar dari berkas satu ke berkas lainnya, beberapa kesalahan evaluasi menghilang.';
Title: Re: Language File Compare
Post by: ディン1031 on May 19, 2008, 04:34:55 AM
Thx for the Translation, i insert it =).

Bye
DIN1031
Title: Re: Language File Compare
Post by: bitmovel on August 01, 2008, 03:14:47 PM
hi there

remember me :D


Any chance to update it to 2.0 b1?

Best Regards :D
Title: Re: Language File Compare
Post by: ディン1031 on August 02, 2008, 07:15:31 AM
First the Beta 3 have a extra part only for language translations and the changes.
So i want not upgrade this mod for SMF 2.0 Beta because it's not needed there.
I think that what is there implemented is a very powerful tool.

Bye
DIN1031
Title: Re: Language File Compare
Post by: mforum on November 11, 2008, 03:16:04 AM
Hi Din
your mod is fantastic !!!!!!!

i have problem on showing characters in Greek language (see attachment),  its ok for English.
My index has ISO 8859-7 char coding, if that helps .....
Title: Re: Language File Compare
Post by: ディン1031 on November 12, 2008, 12:59:37 AM
Quote from: mforum on November 11, 2008, 03:16:04 AM
Hi Din
your mod is fantastic !!!!!!!

i have problem on showing characters in Greek language (see attachment),  its ok for English.
My index has ISO 8859-7 char coding, if that helps .....
Thanks, i will see if i can fix it :). (I thought i fixed it, but okay possible that this is a another problem) =).

Bye
DIN1031
Title: Re: Language File Compare
Post by: mforum on November 25, 2008, 04:54:33 AM
hmmm, i think the Greek file is encoded in utf-8  :-\
i attached the correct encoding
Title: Re: Language File Compare
Post by: phpshiva on May 22, 2009, 08:44:07 AM
I got this installed all working ok but not dutch utf 8 this gives me a blank page
How to fix this?

smf 1.1.8

thanks
Title: Re: Language File Compare
Post by: ディン1031 on May 22, 2009, 01:31:36 PM
Quote from: phpshiva on May 22, 2009, 08:44:07 AM
I got this installed all working ok but not dutch utf 8 this gives me a blank page
How to fix this?

smf 1.1.8

thanks
How do you mean that? :X
Nothing appear or only the text is missing? ;)
Title: Re: Language File Compare
Post by: phpshiva on May 23, 2009, 04:15:27 AM
nothing  appear  blanco page all other are ok
Title: Re: Language File Compare
Post by: rjckE on June 16, 2009, 12:11:50 AM
Great mod :D

I'm waiting for compatibility with 2.0 RC1-1 ;)
Title: Re: Language File Compare
Post by: Shannar on July 03, 2009, 12:24:14 PM
If I select mod in admin panel, I see next message:

QuoteUnable to load the 'LanguageCompareSelect' template.


P. S. Possible it happens after installing http://custom.simplemachines.org/mods/index.php?mod=598
Title: Re: Language File Compare
Post by: Akyhne on July 28, 2009, 10:01:21 AM
Extremely usefull tool!! I just introduced 4 language in one of my forums, German, Spanish, Italian and French. Without this tool, I would have had a bunch of errors in my log. Thumbs up for the great work!!!
Will there be a SMF2 version at some point?
Title: Re: Language File Compare
Post by: ディン1031 on July 30, 2009, 12:13:25 AM
Quote from: Shannar on July 03, 2009, 12:24:14 PM
If I select mod in admin panel, I see next message:

QuoteUnable to load the 'LanguageCompareSelect' template.


P. S. Possible it happens after installing http://custom.simplemachines.org/mods/index.php?mod=598
Look if the package move the File LanguageCompareSelect.template..php into the Theme Folder of the default theme.

Bye
DIN1031
Title: Re: Language File Compare
Post by: Eclipse16V on September 21, 2009, 05:03:07 PM
Nice Mod.
I have run this Mod on one of my SMF 1.1.10.

Does it run on the SMF 2.0RC1.2  ???
Title: Re: Language File Compare
Post by: Akyhne on September 21, 2009, 05:15:28 PM
QuoteCompatible With: 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.1.8, 1.1.9, 1.1.10
http://custom.simplemachines.org/mods/index.php?mod=1071
Title: Re: Language File Compare
Post by: Eclipse16V on September 22, 2009, 03:33:26 AM
And when are there these for the 2.0 version?
Title: Re: Language File Compare
Post by: ディン1031 on September 22, 2009, 06:23:32 AM
When i have time to convert it... i hope to the next rc release.
Title: Re: Language File Compare
Post by: YogiBear on September 22, 2009, 05:00:50 PM
Some while ago in a moment of madness, I converted the forum to english-UTF8 although it runs in english-british. Some mods cause an error message in the log as they weren't written for UTF8. Would this mod help identify the missing strings I need to upload?
Title: Re: Language File Compare
Post by: Sabre™ on October 08, 2009, 08:39:32 PM
Brilliant mod!
Thank you mate :)
Title: Re: Language File Compare
Post by: Shannar on October 09, 2009, 04:21:05 AM
Quote from: ディン1031 on July 30, 2009, 12:13:25 AM
Look if the package move the File LanguageCompareSelect.template..php into the Theme Folder of the default theme.

No, I can't see any strange move.
Title: Re: Language File Compare
Post by: ディン1031 on October 09, 2009, 04:33:21 AM
Quote from: Shannar on October 09, 2009, 04:21:05 AM
Quote from: ディン1031 on July 30, 2009, 12:13:25 AM
Look if the package move the File LanguageCompareSelect.template..php into the Theme Folder of the default theme.

No, I can't see any strange move.
Strange move? If the file is not in the folder the theme could not load the template :X.
Title: Re: Language File Compare
Post by: Shannar on October 09, 2009, 04:40:18 AM
Quote from: ディン1031 on October 09, 2009, 04:33:21 AM
If the file is not in the folder the theme could not load the template :X.

File LanguageFileCompare.php placed in Sources directory.

He must be in Themes?!
Title: Re: Language File Compare
Post by: ディン1031 on October 09, 2009, 06:03:45 AM
Quote from: Shannar on October 09, 2009, 04:40:18 AM
Quote from: ディン1031 on October 09, 2009, 04:33:21 AM
If the file is not in the folder the theme could not load the template :X.

File LanguageFileCompare.php placed in Sources directory.

He must be in Themes?!
No this file need to be in Source Directory oO.

Quote
LanguageCompareSelect.template.php into the Theme Folder
To bring the important things up ;).
Title: Re: Language File Compare
Post by: Shannar on October 09, 2009, 06:18:49 AM
Quote from: ディン1031 on October 09, 2009, 06:03:45 AM
Quote
LanguageCompareSelect.template.php into the Theme Folder
To bring the important things up ;).

I don't see this file in Theme directory (and in LanguageFileCompare101Fix.zip). -__-"

Or it must be generated independently?
Title: Re: Language File Compare
Post by: ディン1031 on October 09, 2009, 06:31:39 AM
So now i must look...
Title: Re: Language File Compare
Post by: Shannar on October 09, 2009, 06:35:27 AM
As I understood, function template_LanguageCompareSelect() must be in Admin.template.php, but don't do this.
Title: Re: Language File Compare
Post by: ディン1031 on October 09, 2009, 06:35:33 AM
Okay this was my mistake... it's a long time since i create this mod xD.

Normal this message should not appear, i think the changes in the Admin.template.php are missing. I was a little bit confused by the error message, because ein never used a loadTemplate('LanguageCompareSelect'); because that's the only way i know where this error appear...

Sorry for the problem i made... i think in last few weeks i was to much under stress so that it is possible that i did not see my thinking mistake.

Now i installed it, and it work fine without errors... i think you're install have an error...
Title: Re: Language File Compare
Post by: Shannar on October 09, 2009, 06:39:50 AM
Quote from: ディン1031 on October 09, 2009, 06:35:33 AM
Normal this message should not appear, i think the changes in the Admin.template.php are missing.

Yes. Restored — and all working! Thnx!



P. S. "Langauge" in Modifications.english.php — bug or feature? ~__^
Title: Re: Language File Compare
Post by: ディン1031 on October 09, 2009, 11:36:50 AM
Quote from: Shannar on October 09, 2009, 06:39:50 AM
Quote from: ディン1031 on October 09, 2009, 06:35:33 AM
Normal this message should not appear, i think the changes in the Admin.template.php are missing.

Yes. Restored — and all working! Thnx!



P. S. "Langauge" in Modifications.english.php — bug or feature? ~__^
Ups *g*
Title: Re: Language File Compare
Post by: ChaosEnergy on December 27, 2009, 11:34:59 AM
the mod has helped me soo much, will there be a version vor 2.0 rc2
i think more and more admins will now switch over and need this great tool
Title: Re: Language File Compare
Post by: Eclipse16V on December 27, 2009, 03:27:43 PM
Quote from: ディン1031 on September 22, 2009, 06:23:32 AM
When i have time to convert it... i hope to the next rc release.

RC2  O:)
Title: Re: Language File Compare
Post by: luismanson on December 29, 2009, 12:07:10 PM
i would like to have an update too!!!
Title: Re: Language File Compare
Post by: Eclipse16V on January 12, 2010, 09:36:16 AM
bump  ;)
Title: Re: Language File Compare
Post by: ディン1031 on January 14, 2010, 12:40:00 PM
It's difficult to insert this in rc2 oO because smf 2 have already a function like this... hmmm sure it need to be improved xD. But at the moment i have no time to think into the new system for a better handling :(...