Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: bicunisa - maaliskuu 07, 2006, 10:17:27 AP

Otsikko: Mod development and multilanguage support
Kirjoitti: bicunisa - maaliskuu 07, 2006, 10:17:27 AP
Hello guys, this post is to make a suggestion to all mod or smf developers.

Right now, if you install a mod that doesn't support other language than english, it just WON'T display stuff related to it (like the new tab to configurate stuff for the mod you just installed). Is there any way to override this behavior and display the tab in a DEFAULT language? (english in this case).

I configured my SMF boards to use the spanish language pack, but if I install mods like Ultimate Shoutbox or  Googlebot & Spiders, the tabs to configure them won't appear, unless I change the language of the forum in my profile options back to English, just to configure those mods. I think the correct behavior should be "oh, there isn't a Spanish resource file, then I will default to English and display the tab even though I don't know the translation for the Spanish language".

Summarizing, let the mods and stuff default to English when they can't find a translation. Hope it can be done, or something... ;)


Best regards,
Adrián.
Otsikko: Re: Mod development and multilanguage support
Kirjoitti: Elmacik - maaliskuu 07, 2006, 07:01:40 IP
A nice implementation it would be, but not to mod packages; to package handler of SMF.
Otsikko: Re: Mod development and multilanguage support
Kirjoitti: Dannii - maaliskuu 07, 2006, 07:45:03 IP
It is supposed to fall back to English, but I'm not sure exactly how it works. It may only work on a language-file at a time basis.
Otsikko: Re: Mod development and multilanguage support
Kirjoitti: bicunisa - maaliskuu 09, 2006, 10:12:17 AP
Or what should be the workaround?
Because in some of the mods I can't find an english.php file so I can translate the stuff to spanish.

I think we should look further into this, so SMF gets pretty good multilanguage support ;)