Fork me on GitHub

Wednesday, March 21, 2007

Blog / German translation ! (and setup issues)

German translation ! (and setup issues)

Good news for our (many!) German friends!

Christian, also known as tafkas, has managed to finish a
complete translation for FP-0.703-alpha.

Awesome! Many many kudos to tafkas, who is also largely spreading the FlatPress word[1] :D

Get the German translation here

Setup issues

In the meantime tafkas (isn’t he a good guy?) also helped me with the “can’t setup” thingie that some of you had.

Open up your defaults.php and change this line

define('BLOG_BASEURL', 'http://'.$_SERVER['SERVER_NAME'].
  (($_SERVER['SERVER_PORT']!=80)? ':' . $_SERVER['SERVER_PORT'] : '') .
  BLOG_ROOT);

into this

define('BLOG_BASEURL', 'http://'.$_SERVER['HTTP_HOST'] .  BLOG_ROOT);

What’s changed ? This way you’re not using anymore SERVER_NAME but HTTP_HOST; server name is more reliable than http host, which relies on the info you send through your browser to tell PHP what’s your own webserver hostname (what a mess, huh?).

Well I need a that info to be correct so that I can generate correct links for the blog and especially have valid form POST handlers.

Well, the problem is that there’s no HTTP_HOST in IIS, so… I think I’ll have to re-add a step in the installer; I’ll see.

Another thing I’ve read is about people who can’t install and that maybe were offended by the FP installer :P

Guys, seriously, what’s so bad about reading the instructions?

It clearly says that you have to click finish to BEGIN :D

Sorry for the joke, it was intended as a measure to prevent people from just blindly clicking next/next/next in the first versions, as you really needed to read. At the moment it wouldn’t be needed anymore, but I find it funny; just think of this: personally sometimes I click the wrong button myself :D this just shows how little we care about things we’re supposed to care about :P

If I’ll have to add this hostname thing you should really pay attention when you install, so do I really have to remove it? :( It’s so funny, LOL

The point is: the more people install it successfully (having read the instructions) the less will be reporting the results of an unsuccessful installation as bugs :)

bye

PS: the exam went well :D

_____
[1] I was sayng “the ‘FP’ word” but it would have sounded like a dirty thing, LOL

  1. Tafkas

    Wednesday, March 21, 2007 - 21:09:57

    May there should be a localized version of the installer too?

  2. NoWhereMan

    Wednesday, March 21, 2007 - 21:11:03

    unfortunately this is not possible, not at the moment.

  3. Martin Schmidler

    Saturday, March 31, 2007 - 23:58:44

    What about a All-in-one / All-inclusive - German Pack, including a translated installer and some german templates ? (like we know from wordpress :P )

    At the moment I do some work at a FP template and when I´m finished I could try this package-thing, if anyone would support this (I´ll write to tafkas)

  4. NoWhereMan

    Sunday, April 1, 2007 - 07:48:15

    Well, actually I myself can’t support anything like this, as I’m already too busy caring about English and Italian.

    By the way, as you see, there’s no anything like an Italian setup.

    I wouldn’t suggest you to translate the setup: what if I change something? (And I probably will: there’s at least a bug at the moment that I have to fix).

    How would you track down this changes?

    Still, if you want, I won’t sure try to stop you :) I love whatever work people want to do on FP, but I personally think this setup issue may not worth the efforts ;)

    PS: there’s a screencast on how to install FlatPress
    http://snipurl.com/1eqhk

  5. Martin Schmidler

    Monday, April 2, 2007 - 09:43:58

    Yes, the problem with bugs in the setup is difficult..

    It would be nice, if there were also some language files for setup, so i can store the translation in extra files and the user decides the installation language at the start.

    I´ve already started translating, but I think I´ll stop working on it, until you´ve found a solution.

  6. TB

    Thursday, April 12, 2007 - 17:54:38

    AHAHAHAHAHAHAHAHA!

    That installer is HILARIOUS! I mean, here I am just trying to evaluate your software among dozens of other packages, and BAM, the installer is playing a highly hilarious joke on me! I deeply appreciate your burning desire for me to read the same boilerplate wizard welcome message I’ve seen approximately 5 billion times since 1995, and wish that more applications would trick and condescend to me.

    And when the “I hate witty programmers” link lead to a competing software package, implying that the ignorant or impatient masses aren’t worthy of your work? That just proved that you are a true professional. Great job!

    On a less sarcastic note, this is a flat-file blog, not Oracle. How could the installation possibly be so complex that you need to resort to tricking users into paying extra attention? Get over yourself.

  7. NoWhereMan

    Thursday, April 12, 2007 - 19:55:56

    well, nice thing about free software is that you’re free to choose the one you prefer. I don’t think my finances will be affected, anyway. Have a nice day ;)

  8. KaKaRoTo

    Friday, April 13, 2007 - 18:09:08

    A message to TB who ‘likes’ the installer..
    what is wrong with your brain ? you should maybe consider recycling yourself in something more in your league, like sleeping all day maybe…
    isn’t this free software? isn’t NWM working on this in his own free time, making this for people who don’t have knowledge on how to do this by themselves ? is he asking for anything in return ? I don’t think so, so you should just come here and say “thanks for the effort”, if you think you’re too high and mighty and don’t want to dirty your little fingers typing that little appreciation sentence, then you should just keep your saracsm to yourself, at least, you won’t make a fool out of yourself.
    And what about the installer ? it’s nice and does its purpose (install the software if you didn’t realize it by now), and I think a little fun with something as boring and repetitive as installing software can’t do no harm.
    And as I always say in the free software world : you don’t like it? don’t use it!
    Get over yourself… get a life… or just shut the hell up!
    Have a nice day.. I think…

    KaKaroTo