Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Dutch Help files
Dutch Help files
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
ITsME
Blue Pill


Joined: Jan 05, 2005
Posts: 2
Location: behind this Mac

PostPosted: Wed Jan 05, 2005 9:47 am    Post subject: Dutch Help files

Hi All,
Anybody having any trouble with installing the files using the terminal?
Can I copy the commands all at once and past the in the terminal window?

Thanks...
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Wed Jan 05, 2005 10:32 am    Post subject:

I just downloaded and installed the Dutch help files using the instructions at:

http://www.planamesa.com/neojava/download.php#installhelp

You can copy and paste most of the commands except for commands 2, 3, and 4. Those commands require you to replace the quoted words with something else. For example, here is what commands 2, 3, and 4 look like after replacement on my machine:

export NEOJ_HELP_DIR="/Applications/NeoOfficeJ.app/Contents/help"
export NEOJ_LANGUAGE="nl"
export NEOJ_HELP_FILE="/Users/pluby/helpcontent_31_unix.tgz"

Parick
Back to top
ovvldc
Captain Naiobi


Joined: Sep 13, 2004
Posts: 2352
Location: Zürich, CH

PostPosted: Wed Jan 05, 2005 1:12 pm    Post subject:

pluby wrote:
I just downloaded and installed the Dutch help files using the instructions at:


I unpacked the whole mess manually, recombined it into a folder and moved that into the file hierarchy. Took a little longer but at least I knew what was going on Smile.

Feel free to e-mail me in Dutch if you can't figure it out..

_________________
"What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi
Back to top
ITsME
Blue Pill


Joined: Jan 05, 2005
Posts: 2
Location: behind this Mac

PostPosted: Wed Jan 05, 2005 3:05 pm    Post subject:

OK, thanks Very Happy I'll let you know how things work out.
_________________
• ATB Software • true cross plattform • Servoy database solutions •
Back to top
Max_Barel
Oracle


Joined: May 31, 2003
Posts: 219
Location: French Alps

PostPosted: Thu Jan 06, 2005 12:18 pm    Post subject: improved install script

I just answered, in private mail, to a french user who made a mistake while using these instructions to install help files.

I post below a suggestion for an improved shell script.
The best method is to save it as an executable text file named install_help.command .
Edit: This file does not need user modification and should be available for download.
Thus it can be double-clicked from the finder, will launch the Terminal application and ask for dragging relevant icons in the Terminal window.

This is to avoid manual command line editing.

If it's useful, I can make a small applescript on wich one can drag the help file archive.

Code:
#!/bin/bash

echo "Please drag the NeoOffice/J Aplication icon in this window, then hit return.
Glisser l'icône de l'application NeoOffice/J dans cette fenêtre, puis valider.
"
read neoj
NEOJ_HELP_DIR="${neoj}/Contents/help"

echo "
Please drag the downloaded help file package icon in this window, then hit return
Glisser l'icône du paquet de fichier d'aide dans cette fenêtre, puis valider.
"
read NEOJ_HELP_FILE

echo "
Please enter the language code of the help package you are installing, according to the list below :
Entrer le code de la langue des fichiers d'aide, selon le tableau ci-dessous:
Langue         Code
Allemand      de
Chinois - Simplifié   zh-CN
Chinois - Traditionnel   zh-TW
Coréen         ko
Espagnol      es
Français      fr
Hollandais      nl
Italien         it
Japonais      ja
Portugais Brésilien   pt-BR
Suédois         sv
Turque         tr
"
read NEOJ_LANGUAGE

export NEOJ_HELP_FILE NEOJ_HELP_DIR NEOJ_LANGUAGE

echo "
Please enter you password below. It will not be displayed.
Entrer votre mot de passe ci-dessous. Il ne sera pas affiché.
"

sudo /bin/sh -e -c 'cd "$NEOJ_HELP_DIR" ; rm -Rf "$NEOJ_LANGUAGE" ; mkdir "$NEOJ_LANGUAGE" ; cd "$NEOJ_LANGUAGE" ; gunzip -q < "$NEOJ_HELP_FILE" | tar xvf - ; for i in *.zip ; do jar xvf "$i" ; done'

Please test it and give feedback.
Translation of messages in other languages can be suggested here also.
Max


Last edited by Max_Barel on Thu Jan 27, 2005 8:05 am; edited 1 time in total
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Thu Jan 06, 2005 12:44 pm    Post subject: Re: improved install script

Max_Barel wrote:
I post below a suggestion for an improved shell script.
The best method is to save it as an executable text file named install_help.command . Thus it can be double-clicked from the finder, will launch the Terminal application and ask for dragging relevant icons in the Terminal window.

This is to avoid manual command line editing.

If it's useful, I can make a small applescript on wich one can drag the help file archive.


Max, this is a great idea! While the Terminal is a wonderful thing to have available, part of the "purpose" of Neo/J is to make simple and OOo Mac-like for users, and aside from the blue buttons, the only really UNIX-y/CLI part still exposed to the end users is installing localized help files. Smile

I wonder if you should include a brief line about why the password is needed for those who don't like to enter passwords without explanation/clear understanding Smile (Wouldn't it be cool if AppleScript would let you display the standard OS X authentication dialogue....)

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Releases All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.