classilla / tenfourfox

Mozilla for Power Macintosh.
http://www.tenfourfox.com/
Other
276 stars 42 forks source link

Locale installer #61

Closed GoogleCodeExporter closed 6 years ago

GoogleCodeExporter commented 9 years ago
This should be a (probably iHook-based?) executable that finds a locale and 
installs it. It should do the chrome.manifest changes itself so that multiple 
locales can be installed simultaneously, and copy the jars and dictionaries to 
the right places.

Original issue reported on code.google.com by classi...@floodgap.com on 3 May 2011 at 10:12

GoogleCodeExporter commented 9 years ago
Ok there is a problem in the plist reader I ll try to program a stronger one 
asap.

Original comment by victorie...@gmail.com on 26 Sep 2011 at 5:54

GoogleCodeExporter commented 9 years ago
Corrected plist reader  script. Tell me if it works now.

Original comment by victorie...@gmail.com on 27 Sep 2011 at 9:05

Attachments:

GoogleCodeExporter commented 9 years ago
It works now. This is great. Thank you so much! I'll test this more thoroughly 
and am going to incorporate it in the next German Installer app (7.0) if no 
problems occur.

I would like to do this in a way that not *all* versions are supported. Only 
the final version of each major version plus the most recent version that's out 
now. So that we encourage people to update to the most secure version possible. 
E.g., if they, for whatever reason, can't go higher than TFF 4, they should 
update to 4.0.3. (The French 4.0.2 tarball can be re-used for 4.0.3, there were 
no GUI changes in-between that would affect the localizaion).  

Original comment by chtru...@web.de on 27 Sep 2011 at 10:14

GoogleCodeExporter commented 9 years ago
I'd like now to make a more sexy GUI based on the pure applescript. I't won't 
take so many time and be compatible with 10.4 to 10.7 using applescript studio.

Do you guys have some ideas to improve the process ?

Original comment by victorie...@gmail.com on 27 Sep 2011 at 10:22

GoogleCodeExporter commented 9 years ago
I really appreciate your help. No offense, but I don't know if a nicer GUI is 
really necessary for an app people will use only once. Could you help making 
the French localization itself instead? I think this is much more needed right 
now.

Original comment by chtru...@web.de on 27 Sep 2011 at 10:32

GoogleCodeExporter commented 9 years ago
German langpack installer for TFF 7.0. Thanks to Victorien this installer also 
works for TFF 4.0.3, 5.0, and 6.0.1. 

Original comment by chtru...@web.de on 27 Sep 2011 at 6:42

GoogleCodeExporter commented 9 years ago
Ok so Here is the french multi locale installer. For now it is only compatible 
with 4.0.3 and 7.0. I also make cosmetic change in the installer script.

====================================================
Change log in the script 
====================================================

- Cosmetic ajustements in the dialog boxes
- All the translatable strings are now located in the same place in the script
- New verification step in the script : if the software is TFF but the version 
isn't compatible with the installer the script will display a message with all 
compatible versions
- for more simplicity a Localeident string was added. The profile will be 
updated without tweaking the code ie : set theText to 
"user_pref(\"general.useragent.locale\", \"" & Localeident & "\");"

====================================================
Known bugs in the translation (see screen shot)
====================================================

- Didn't manage to translate the search string in the spotlight box of the help 
menu for 4.0.3 and 7.0
- In 7.0 the homepage has a strange behavior. It displays some text in... 
German. No idea why.

Original comment by victorie...@gmail.com on 29 Sep 2011 at 9:53

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for cleaning up the script and making the French tarball. Tested your 
installer app – works as expected. With a fresh user account, on the start 
page I also get the "Rechercher" button for Google, but now with English text 
beneath. I have also no idea why. Maybe this is a Google bug. Also, I don't see 
the blue Spotlight Search field in Help at all – see issue 42 comment 20. How 
did you manage to get it there?

Original comment by chtru...@web.de on 29 Sep 2011 at 10:48

Attachments:

GoogleCodeExporter commented 9 years ago
Hurray! Nice work guys! Thank you so much from France! :-D

Original comment by no.dark....@gmail.com on 1 Oct 2011 at 10:51

GoogleCodeExporter commented 9 years ago
It does not work for me with TFF 7.0. Nothing changes after launching the 
installer,and close TFF, i have no more messages and TFF is always in english. 
I also try with new profile...
Any idea ?

Original comment by bertrand...@gmail.com on 1 Oct 2011 at 2:03

GoogleCodeExporter commented 9 years ago
bertrand...@gmail.com, are you sure you're using the "Universal Fench installer 
beta1" from comment 57? Does the German installer from comment 56 work for you? 
Could you try please so we can see what's wrong and fix it?

Original comment by chtru...@web.de on 1 Oct 2011 at 4:26

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Yes, i'm using the Installer from 57. I also tried the german one with the same 
result: after cliking on the proceed button, nothing more happens. I'm under 
Leopard 10.5.8 and using TFF 7.0.

Original comment by bertrand...@gmail.com on 2 Oct 2011 at 6:37

GoogleCodeExporter commented 9 years ago
That means the installer crashes on your system. Otherwise it would at least 
tell you something (success, no success, choose application, authenticate or 
whatever). Since we're essentially using the OpenOffice langpack installer 
script, which should be well-tested, have no real idea what might be causing 
this. 

Can you download the script attached, double-click it (it should open in 
ScriptEditor), run it (it will kill TFF if it gets so far), and tell us 
- any error messages that might appear 
- the event log

Thanks!

Original comment by chtru...@web.de on 2 Oct 2011 at 10:33

Attachments:

GoogleCodeExporter commented 9 years ago
Ok that's what i obtain in Applescript after "execute".

Original comment by bertrand...@gmail.com on 2 Oct 2011 at 11:08

Attachments:

GoogleCodeExporter commented 9 years ago
I forgot to say that i have before this the same display screen of 
installation, and i obtain this when i click on "proceed".

Original comment by bertrand...@gmail.com on 2 Oct 2011 at 11:11

GoogleCodeExporter commented 9 years ago
It seems that spotlight isn't working on your os. I know how to fix this issue 
quickly. I will relase a fix asap.

Original comment by victorie...@gmail.com on 2 Oct 2011 at 11:46

GoogleCodeExporter commented 9 years ago
thank you, i deactivate it because it worked to often, i can reactivate it to 
test after that.

Original comment by bertrand...@gmail.com on 2 Oct 2011 at 11:50

GoogleCodeExporter commented 9 years ago
Ok i've reactivated Spotlight, and the installer works very well... Thanks for 
your help...

Original comment by bertrand...@gmail.com on 2 Oct 2011 at 12:13

GoogleCodeExporter commented 9 years ago
Good to hear that. Of course, the installer app should preferably take care of 
the situation when people deactivate Spotlight. "try /end try" or something?

Speaking of Spotlight, Victorien, do you have any idea about the blue box in 
the help menu?

Original comment by chtru...@web.de on 2 Oct 2011 at 12:29

GoogleCodeExporter commented 9 years ago
For the blue box I m investigating. For the installer i don't like the way it 
finds tff. I ll try to fix that asap.

Original comment by victorie...@gmail.com on 2 Oct 2011 at 2:58

GoogleCodeExporter commented 9 years ago
New universal installer beta 1.1

====================================================
Change log in the script 
====================================================
- Now runs even if spotlight has been desctivated

Original comment by victorie...@gmail.com on 4 Oct 2011 at 11:32

GoogleCodeExporter commented 9 years ago
You forgot the attachment (happens to me as well sometimes).

Original comment by chtru...@web.de on 4 Oct 2011 at 4:33

GoogleCodeExporter commented 9 years ago
Sure 
Here is Universal installer FR beta 1.1.

Original comment by victorie...@gmail.com on 4 Oct 2011 at 4:42

Attachments:

GoogleCodeExporter commented 9 years ago
This looks very nice (I'm learning a lot about AppleScript these days). 

bertrand...@gmail.com, can you verify that it works on your system with 
Spotlight disabled? You should be prompted to choose TFF yourself.

Original comment by chtru...@web.de on 4 Oct 2011 at 5:38

GoogleCodeExporter commented 9 years ago
Good job, for me it seems to work very well.

Original comment by bertrand...@gmail.com on 4 Oct 2011 at 6:24

GoogleCodeExporter commented 9 years ago
Here is the German langpack installer for TFF 4 - 7 with some bugfixes.

- Doesn't crash anymore when Spotlight is disabled (thanks Victorien)
- Cut-off strings and buttons fixed in Datenschutz (Privacy) pane in 
Preferences window (affects German translation only)
- Nicer user interface (thanks Victorien)

Original comment by chtru...@web.de on 7 Oct 2011 at 5:51

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Works the Multi-Installer for TFF 8.0 too?

Original comment by m.hinden...@gmail.com on 10 Nov 2011 at 2:14

GoogleCodeExporter commented 9 years ago
Not yet… I'm going to add support for 8.0 this weekend.

Original comment by chtru...@web.de on 10 Nov 2011 at 2:50

GoogleCodeExporter commented 9 years ago
TFF is absolut amazing :)

Original comment by m.hinden...@gmail.com on 10 Nov 2011 at 6:18

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
French translation is on the grill.

But I have a proposal for the installer.

We should make a real universal installer. A langpack localized in all 
translatable langage and that can apply the right translation depending on the 
system locale (and the choice made by the user). Instead of having an installer 
for each langage.

Localize the installer is'nt hard to do. Applescript offers and option to do so 
with .lproj files.

But if we include all translation in a simple app this app will be huge.

The best way should allow the universal installer to download the appropriate 
archive on a server depending on the locale and the version. 

For exemple I'd like to translate TFF 4.0.1 on a french os. "defaults read -g 
AppleLocale" returns "fr_FR" TFF Version is 4.0.1. The program will download an 
uncompress the file :

http://an.exemple.server.com/locale/fr_FR/4.0.1/archive.tar.bz2

It would require an hosting service.

What do you think about this ?

Original comment by victorie...@gmail.com on 14 Nov 2011 at 3:40

GoogleCodeExporter commented 9 years ago
Sounds interesting – I thought about this as well: One installer app that 
speaks the right language and lets the user choose what language to install to 
TFF. But this is also pretty complicated to do. 

Because the hosting service must be maintained/paid(?) and be available also 5 
years from now if somebody wants to resurrect an old Mac. A tarball is about 
500 KB, so we would have about 5 MB for the installer app right now (which 
isn't too large I think). 

Another problem (which is why I would speak against the whole project right 
now) is that we will have to wait for each other. I.e. the Real Universal 
Installer for TFF 9 can only be released when all langpacks for 9 are finished. 
If we get more languages on board this might become even more of problem if a 
localization is delayed or never done. Then we would have to release an 
incomplete installer (confusing to people). I try to make the langpack as soon 
as the final version is released so that people get it as soon as possible, but 
I don't always have the time. So why should e.g. the French have to wait for 
the German langpack?

Original comment by chtru...@web.de on 14 Nov 2011 at 5:05

GoogleCodeExporter commented 9 years ago
thanks for the hard job you are doing all of you :) i need the Universal Fench 
installer for firefox 8 thanks

Original comment by skander....@gmail.com on 7 Dec 2011 at 7:04

GoogleCodeExporter commented 9 years ago
German langpack installer for TFF for TFF 9.0 (and earlier).

Changes: Shortened some German strings in the About dialog (bottom line) to not 
make it too wide (see 
http://code.google.com/p/tenfourfox/issues/detail?id=42#c55). Shortened 
"Standard wiederherstellen" string in Toolbar customization dialog  to fix 
cropped button. (Cropped button in Preferences/Privacy that also affected 
FF/Intel/German has been fixed by Mozilla as proposed by humble, unsupported 
TFF project member.)

Original comment by chtru...@web.de on 21 Dec 2011 at 1:48

GoogleCodeExporter commented 9 years ago
Oh great, found a typo in the German About dialog that's been there all along 
since TFF 4. Will be corrected in 9.0.1 or 10, whatver comes next. Sorry.

Original comment by chtru...@web.de on 22 Dec 2011 at 12:12

GoogleCodeExporter commented 9 years ago
Version 1.1 of German langpack installer for TFF 9.0 (and earlier). 

Changes: Corrected spelling mistake in About box and cleaned up unnecessary 
folders. I was slipping a bit yesterday. 

If you already installed the langpack, you can leave it as it is, there are no 
functional changes.

Original comment by chtru...@web.de on 22 Dec 2011 at 2:52

GoogleCodeExporter commented 9 years ago
Hi People,

Any idea how to have the French localized version for TFF 9.0 ? thx.

Original comment by regis.co...@free.fr on 23 Jan 2012 at 10:05

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi everybody!
I've got an idea about localization!!!
I'm no developper of any kind, but I've pimped into Firefox, TFF and the German 
langpack installer to see how localization works, and it doesn't look that 
awful to do, I've tried copying things from the old "Universal French installer 
beta1" in TFF10 and I had French menus displaying but the browser gave only 
errors...

Here's my idea about the process we need, you tell me if it's possible: say I'm 
a Brazilian, I download Firefox 10 (Intel) in Brazilian, I download TFF10 and 
then I run the same kind of installer as "German langpack installer" that, 
instead of installing what it has got inside its own package asks for "where is 
the Intel version?", peeks what he needs in it and installs it in TFF, does the 
necessary tricks, and it's done! :-)

This way, the installer could work for any language of the current version!
Doesn't it sound a good idea? :-D
I think there are plenty of people desperately waiting for a localization, be 
it French or else! It also would spread TFF for non-English users.
I'm quite sure it wouldn't take that much time for our Master 
classi...@floodgap.com or for the venerable chtru...@web.de to manage doing the 
tricks for other languages, pleeaaaase, be good to us! ;-)
(I would do it myself if I was enough a technician...)
Forgive me if it's more complicated that it seems.
My deepest respects! :-)

Original comment by no.dark....@gmail.com on 31 Jan 2012 at 11:42

GoogleCodeExporter commented 9 years ago
An installer app like this would be awesome. It would save me a lot of time :-) 
It could be done if the process was completely mechanical, i.e. if it only 
involved putting files from one location to another. But TFF isn't Firefox, it 
has some extra stuff in it that needs to be translated by a real person because 
it just doesn't exist in the Intel FF version.

Original comment by chtru...@web.de on 1 Feb 2012 at 12:15

GoogleCodeExporter commented 9 years ago
Large attachments from issues 42 & 61 have been archived due to attachment 
space restrictions and can be accessed here:
http://tinyurl.com/tfflangpacks

French installer (comment 74) is for 4.0.3 & 7.0
German installer (comment 90) is for 4.0.3, 5.0, 6.0.1, 7.0, 8.0, 9.0, 10.0

Original comment by chtru...@web.de on 3 Feb 2012 at 9:45

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
German langpack installer for TFF 10.0.2 (and earlier). TFF 10.0.0/10.0.1 is 
not supported, please update to 10.0.2 first.

Download here: http://tinyurl.com/TFF10-0-2DE

Original comment by chtru...@web.de on 17 Feb 2012 at 8:20

GoogleCodeExporter commented 9 years ago
French langpack installer for TFF 10.0.2 (and TFF 4 & 7). This is a test 
version as I am no native speaker of French. Please confirm that everything is 
correct. Besides the french FF 10.0.2 files, I used some strings from the TFF 7 
jar and do hope I copied&pasted everything where it belongs.

Download here: http://tinyurl.com/TFF10-0-2Fr

Issues:
- the About dialog has never been completely localized. I someone could give me 
translations for the text highlighted in the attachment, I'd just put in we'd 
have a complete dialog.
- There is an issue in the About dialog when translated string are too long. 
I've had this in the German version as well, so I shortened some strings. The 
French dialog becomes too wide (black stripe right to the background star field 
image) with Narcotix' original translation. I shortened "Politique de 
confidentialité". If there is a better way to save about 6-8 characters in the 
bottom line of the dialog while keeping the basic information, please tell me 
:-)
- If there's a better (more French) name for the installer application, tell 
me. I'd like to keep the format TFF-10.X.X-Langpack-[language]-vX so end users 
know it's a language package (and not the actual browser), which language, and 
which version(s) it's for.

Original comment by chtru...@web.de on 22 Feb 2012 at 2:25

Attachments:

GoogleCodeExporter commented 9 years ago
Project Lead : direction de projet
Thanks to: Remerciements
Powered by Mozilla Firefox: Moteur issu de Mozilla Firefox
Contributors to TFF.All right reserved: Contributeurs � TFF. Tous  
droits r�serv�s.

Le 22 f�vr. 12 � 15:26, tenfourfox@googlecode.com a �crit :

Original comment by regis.co...@free.fr on 22 Feb 2012 at 8:28

GoogleCodeExporter commented 9 years ago
Thanks, the additions will be in the next version. I've been working with the 
french version for the rest of the day, and everything semms to be ok.

Original comment by chtru...@web.de on 22 Feb 2012 at 9:09

GoogleCodeExporter commented 9 years ago
I can't believe it!
Chtru, you deserve a statue! :-D
Danke Schön!

Original comment by no.dark....@gmail.com on 6 Mar 2012 at 8:05

GoogleCodeExporter commented 9 years ago
Will the locale installer work on all future versions of 10.x? (See issue 42)

Original comment by classi...@floodgap.com on 6 Mar 2012 at 9:09