Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: Daniel D. on March 15, 2004, 10:05:29 AM

Title: Hardcoded text
Post by: Daniel D. on March 15, 2004, 10:05:29 AM
Maintenance Mode

Ok faithful users...we're attempting to restore an older backup of the database...news will be posted once we're back!

previous / next

Credits only in english

agreement.txt only in english
Title: Re: Hardcoded text
Post by: bostasp on March 15, 2004, 10:06:39 AM
install.php and upgrade.php are also hardcoded in English.
Title: Re: Hardcoded text
Post by: Skoen on March 15, 2004, 06:59:21 PM
I've managed to create an agreement.txt in Norwegian and the previous - next entries plus the Maintenace Mode is edited from the Administrator Panel
Title: Re: Hardcoded text
Post by: Daniel D. on March 15, 2004, 07:53:30 PM
I know that, but I think that - if the whole board is translated - these items need to be translated, too. It seems senseless if a german user (+german language) browse the forum and the links says previous/next. There was a mod for SE, perhaps I'll take a look at it.
Title: Re: Hardcoded text
Post by: Jeff Lewis on March 15, 2004, 08:30:26 PM
I don't think the credits need to be in anything other than english IMHO.
Title: Re: Hardcoded text
Post by: Daniel D. on March 15, 2004, 09:31:53 PM
Yeah, it was just a suggestion. But the other things...
Title: Re: Hardcoded text
Post by: Grudge on March 16, 2004, 05:49:43 AM
Ummm... actually I do agree that previous/next should be taken out of the admin panel altogether. By all means keep the option to enable them / disable them there but why not stick them in the language files? People can still alter them if they wish but it certainly doesn't make any sense to keep them english all the time. The other things I'm less sure of - maintainance mode is often changed depending on what is being carried out so I don't think is that important IMHO
Title: Re: Hardcoded text
Post by: [Unknown] on March 16, 2004, 12:25:29 PM
I agree, but I don't know how many people customize it..

-[Unknown]
Title: Re: Hardcoded text
Post by: Daniel D. on March 16, 2004, 05:41:20 PM
Then please move out the previous/next links.
Title: Re: Hardcoded text
Post by: Skoen on May 28, 2004, 07:44:54 PM
I second that to have that into the language file as I don't see the reason to alter the name for it in the admin. Not like there is a guy wanting to suddenly change the text for them to Greek or Chinese or whatever ;)
Title: Re: Hardcoded text
Post by: [Unknown] on May 28, 2004, 07:48:22 PM
Credits may stay in english....

Agreement... is a bad of worms.  Making it in multiple languages makes it practically impossible to modify for your own needs.  IMHO.

-[Unknown]
Title: Re: Hardcoded text
Post by: Skoen on May 28, 2004, 07:51:31 PM
Yeah, agreement is an optional file which can be translated by maybe the official translator to include in the translation package, but I still think that should stay in the admin panel so that the admin for each forum can change it.
The credits would actually be hard to translate, and I don't see the need to translate the credits. Not even in the movies you see on TV you will see that they have translated the credits. So the credits should stay in English.
Title: Re: Hardcoded text
Post by: andrea on May 29, 2004, 05:23:04 AM
It might also be complicated or dangerous to use language strings in install.php and upgrade.php since the usage of language strings requires that the program (or at least parts of it) is already installed...
Title: Re: Hardcoded text
Post by: Grudge on May 29, 2004, 07:42:17 AM
Do you know install.php is now multi-language? It happened last beta I believe. If you have a language pack installed before you install it, it will let you do the install in that language! (i.e you upload the language files before running install)
Title: Re: Hardcoded text
Post by: andrea on May 29, 2004, 08:22:04 AM
Aha. Maybe I did read sth about it somewhere but without awareness. When it's already done it's of course very ok.
Title: Re: Hardcoded text
Post by: Daniel D. on May 29, 2004, 01:10:21 PM
Quote from: Grudge on May 29, 2004, 07:42:17 AM
Do you know install.php is now multi-language? It happened last beta I believe. If you have a language pack installed before you install it, it will let you do the install in that language! (i.e you upload the language files before running install)
This must be in the readme or should be displayed during installation. So the user can upload it first and install in his/her language.
Title: Re: Hardcoded text
Post by: bostasp on May 29, 2004, 01:28:29 PM
Quote from: Daniel D. on May 29, 2004, 01:10:21 PM
Quote from: Grudge on May 29, 2004, 07:42:17 AM
Do you know install.php is now multi-language? It happened last beta I believe. If you have a language pack installed before you install it, it will let you do the install in that language! (i.e you upload the language files before running install)
This must be in the readme or should be displayed during installation. So the user can upload it first and install in his/her language.

Perhaps an option to select the langauge for install?
Title: Re: Hardcoded text
Post by: [Unknown] on May 29, 2004, 03:29:56 PM
Already there, Bostasp.

Upgrade is not internationalized because of the issues Andrea named.

-[Unknown]