Wedge

Public area => The Pub => Topic started by: Farjo on November 4th, 2012, 04:20 PM

Title: Language pack
Post by: Farjo on November 4th, 2012, 04:20 PM
I was gonna contribute a bit by doing an english_british language pack. Now I've read the "Language editing inside Wedge" thread and whilst I barely understood the first posts my comprehension flowed to almost zero as the thread went on.

So my question is do language packs (or Wedge equivalent) need to be created and if so in what format?
Title: Re: Language pack
Post by: Arantor on November 4th, 2012, 04:25 PM
Language packs will need to be created, the format is the same as SMF - you dump them inside the default/languages/ folder. You do not need to worry about UTF-8 vs ISO, everything is UTF-8 without the -utf8 suffix. You will also require a flag image.

The plan later on is to allow users to edit language files from inside Wedge (like you can in SMF) but without file changes, and that has no considerations for translators.

I would suggest delaying work on the language file at this time because there are still some big changes to come.
Title: Re: Language pack
Post by: Antes on November 4th, 2012, 04:45 PM
I copied all SMF (Turkish) language files over Wedge's and stuff working good (drop down menus not working but still raw SMF files not touched). So probably (Arantor, Nao or SMF Team knows better than me) we can use SMF's language files to create language pack for Wedge.
Title: Re: Language pack
Post by: Arantor on November 4th, 2012, 04:59 PM
Given how much change there has been, I'd seriously consider not doing that.
Title: Re: Language pack
Post by: Farjo on November 4th, 2012, 05:52 PM
Quote from Arantor on November 4th, 2012, 04:25 PM
Language packs will need to be created, the format is the same as SMF - you dump them inside the default/languages/ folder. You do not need to worry about UTF-8 vs ISO, everything is UTF-8 without the -utf8 suffix. You will also require a flag image.

The plan later on is to allow users to edit language files from inside Wedge (like you can in SMF) but without file changes, and that has no considerations for translators.

I would suggest delaying work on the language file at this time because there are still some big changes to come.
Thank you for the beautifully succinct explanation. I will leave off for now then, ta.
Title: Re: Language pack
Post by: Arantor on November 4th, 2012, 05:54 PM
:)

As far as English/British goes, I've been debating about that for a while (because of course it has considerations for me too ;)) Though I've been seriously debating writing a magic conversion plugin because that might be easier and faster, heh.
Title: Re: Language pack
Post by: Farjo on November 4th, 2012, 06:19 PM
Yes that would be much easier, and then I suppose we could pick off other, less obvious differences as we go along :) Having said that we have US members so would want to keep 'american' as-is.

So how would an administrator with, say, a German membership get their language installed? Will it still come as text files or a plugin? Or is that undecided?
Title: Re: Language pack
Post by: Arantor on November 4th, 2012, 06:29 PM
I was being quite specific about having English/British being a plugin. Any other case would just be a conventional language pack full of files that you'd drop into the default/languages folder, and then it'd just go from there.
Title: Re: Language pack
Post by: Pandos on November 4th, 2012, 06:35 PM
Nice thread :)
Just started to translate this files in german :)
So i will continue this work and purge new strings in this files if changed.
Title: Re: Language pack
Post by: Arantor on November 4th, 2012, 06:39 PM
-sigh-

You're making more work for yourself.
Title: Re: Language pack
Post by: Pandos on November 4th, 2012, 06:42 PM
Hmm...
OK, i'll keep waiting :)


Now spending my time in regex for non Apache like webserver.
Title: Re: Language pack
Post by: Farjo on November 4th, 2012, 07:32 PM
Thanks Arantor.
Title: Re: Language pack
Post by: jpb on November 4th, 2012, 09:08 PM
Quote from Pandos on November 4th, 2012, 06:35 PM
Just started to translate this files in german :)
That sounds great! I will use the german language pack in a few month (Wedge Beta oder Final).

Thank you for translating.

Jan
Title: Re: Language pack
Post by: live627 on November 4th, 2012, 10:28 PM
Selective reading. Mo no like.  GUYS, READ THE WHOLE DAMN THREAD BEFORE BLINDLY POSTING!! One page won't kill you.
Title: Re: Language pack
Post by: jpb on November 4th, 2012, 11:07 PM
Quote from live627 on November 4th, 2012, 10:28 PM
Selective reading. Mo no like.  GUYS, READ THE WHOLE DAMN THREAD BEFORE BLINDLY POSTING!! One page won't kill you.
Where is your problem? I read the whole thread before posting. I read, that Pandos will start translating the files after Nao and Arantor made further changes, Because of that I posted:"I will use the language pack in a few month (Wedge Beta or Final)." I did not write, that I will use it now (Wedge Alpha).

Jan
Title: Re: Language pack
Post by: Arantor on November 4th, 2012, 11:11 PM
Actually, that's not what was said. He said he'd start translating, until I basically said that he shouldn't.

You wouldn't be able to use it now anyway with the alpha unless somehow someone had leaked it to you...

As things stand, I read your post the same way Live did.
Title: Re: Language pack
Post by: Pandos on November 4th, 2012, 11:20 PM

That's the reason why i said:
Quote from Pandos on November 4th, 2012, 06:42 PM
Hmm...
OK, i'll keep waiting :)


Now spending my time in regex for non Apache like webserver.
:D


I believe in your words :)