Advertisement:

Author Topic: Hardcoded text  (Read 6770 times)

Offline Daniel D.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,427
Hardcoded text
« 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

Offline Bouminok

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,201
Re: Hardcoded text
« Reply #1 on: March 15, 2004, 10:06:39 AM »
install.php and upgrade.php are also hardcoded in English.

Offline Skoen

  • Language Moderator
  • SMF Friend
  • Sr. Member
  • *
  • Posts: 872
  • Gender: Male
  • I'm a shoe, so don't step on me ;)
    • Radio 3 Norge
Re: Hardcoded text
« Reply #2 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
Alf Otto 'Skoen' Fagermo
Retired Norwegian translator


Offline Daniel D.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,427
Re: Hardcoded text
« Reply #3 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.

Online Jeff Lewis

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,448
  • Gender: Male
Re: Hardcoded text
« Reply #4 on: March 15, 2004, 08:30:26 PM »
I don't think the credits need to be in anything other than english IMHO.

Offline Daniel D.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,427
Re: Hardcoded text
« Reply #5 on: March 15, 2004, 09:31:53 PM »
Yeah, it was just a suggestion. But the other things...

Offline Grudge

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,742
  • Gender: Male
  • Unofficial nuisance
Re: Hardcoded text
« Reply #6 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
I'm only a half geek really...

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: Hardcoded text
« Reply #7 on: March 16, 2004, 12:25:29 PM »
I agree, but I don't know how many people customize it..

-[Unknown]

Offline Daniel D.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,427
Re: Hardcoded text
« Reply #8 on: March 16, 2004, 05:41:20 PM »
Then please move out the previous/next links.

Offline Skoen

  • Language Moderator
  • SMF Friend
  • Sr. Member
  • *
  • Posts: 872
  • Gender: Male
  • I'm a shoe, so don't step on me ;)
    • Radio 3 Norge
Re: Hardcoded text
« Reply #9 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 ;)
Alf Otto 'Skoen' Fagermo
Retired Norwegian translator


Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: Hardcoded text
« Reply #10 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]

Offline Skoen

  • Language Moderator
  • SMF Friend
  • Sr. Member
  • *
  • Posts: 872
  • Gender: Male
  • I'm a shoe, so don't step on me ;)
    • Radio 3 Norge
Re: Hardcoded text
« Reply #11 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.
Alf Otto 'Skoen' Fagermo
Retired Norwegian translator


Offline andrea

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,324
  • Gender: Female
  • I'm a smiley.
    • Smiley Sets
Re: Hardcoded text
« Reply #12 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...
Andrea Hubacher
Ex Lead Support Specialist
www.simplemachines.org

Personal Signature:
Most recent work:
10 Aqua Themes for SMF



Offline Grudge

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,742
  • Gender: Male
  • Unofficial nuisance
Re: Hardcoded text
« Reply #13 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)
I'm only a half geek really...

Offline andrea

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,324
  • Gender: Female
  • I'm a smiley.
    • Smiley Sets
Re: Hardcoded text
« Reply #14 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.
Andrea Hubacher
Ex Lead Support Specialist
www.simplemachines.org

Personal Signature:
Most recent work:
10 Aqua Themes for SMF



Offline Daniel D.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,427
Re: Hardcoded text
« Reply #15 on: May 29, 2004, 01:10:21 PM »
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.

Offline Bouminok

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,201
Re: Hardcoded text
« Reply #16 on: May 29, 2004, 01:28:29 PM »
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?

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: Hardcoded text
« Reply #17 on: May 29, 2004, 03:29:56 PM »
Already there, Bostasp.

Upgrade is not internationalized because of the issues Andrea named.

-[Unknown]