PDA

Visualizza Versione Completa : freeciv



ANDREAONLINE
09-11-06, 13:06
Con la rivista macqorld di ottobre 2006 è disponibile nel cd il gioco freeciv,
clone di civ , scaricabile anche qui :
www.freeciv.org/index.php/Freeciv
anche se all'inizio scelgo la lingua italiano, è in inglese
leggendo tra le istruzione pare che occorrano dei comandi (?)
sinceramente non conosco il linguaggio di programmazione per os e non me la sento di usare il terminal. ho paura di fare guai e non saprei da dove partire.
qualcuno sa come aggirare il problema o consigli ?
il gioco pare bellino, ma in inglese diventa un po' arduo..... :brindiamo:

iGodness
09-11-06, 14:30
Scusa, non vorrei dire una cavolata... Pero' prova a vedere se la cartella contiene una sottodirectory dal nome di Languages. Probabilmente troverai qualcosa tipo "Italian.blablabla". Modifichi il nome con quello del file di lingua originale e lo piazzi al posto di quest'ultimo. Forse cosi' funziona senza dover utilizzare il terminale.

P.s.: ho visto uno screenshot. E' alla AoE?

ANDREAONLINE
09-11-06, 15:11
non ci sono sottocartelle, solo il file eseguibile
sembrerebbe che occorra dare dei comandi, ma nel pannello di x11 o di terminale ?
mah...... :???:
sono limitato....

iGodness
09-11-06, 15:14
Ora non ho il Mac sotto mano. Quindi non ricordo con esattezza che nome abbia. Tuttavia, se clicchi con il tasto destro del mouse sull'eseguibile, spunta il menu' a tendina. Li' dovrebbe esserci una voce tipo "Mostra blablabla" che ti permette di visualizzare le sottocartelle cui fa riferimento l'applicazione.

alex
09-11-06, 15:19
leggendo tra le istruzione

Potresti gentilmente fare un copia/incolla di queste istruzioni?

Magari è più facile di quanto tu creda.

ANDREAONLINE
09-11-06, 17:35
Riporto le istruzioni che ho, nel menu' iniziale viene chiesto la lingua, ma non ha effetto.
Non voglio farvi perdere troppo tempo, se non merita lascio perdere.
Grazie dell'aiuto.




Nelle FAQ del sito viene riportato :
How does Freeciv determine what language it should use?
Freeciv checks the environment variable $LANG for that, so you should set it; for example, to use German, issue the bash command "export LANG=de_DE" before you start civserver or civclient, or "setenv LANG de_DE" if you use tcsh. If you still get English, perhaps you are trying an invalid value (the value "de" instead of "de_DE" will probably fail to work) or the Freeciv software was compiled without localization support.

Nel file READ Me, quando elenca le versioni precedenti riporta :

July 21st, 2005

1. Added localization support with American English is the default language.
2. Enhanced the game client launchers to detect localization settings (see below).

Freeciv 2.0.3 supports the following languages:

Code Description
ca Catalan
cs Czech
da Danish
de German
en_GB English, Great Britain
es Spanish
et Estonian
fi Finnish
fr French
he_IL ???
hu Hungarian
it Italian
ja Japanese
nb ???
nl Dutch
no Norwegian
pl Polish
pt_BR Portuguese, Brazil
ro Romanian
ru Russian
sv Swedish
uk Ukrainian

If you want to use American English, do nothing. Otherwise, you can activate Freeciv's localization support via a couple of ways. The game launchers look to the following, in the order listed, for a language to use:

1. User default. Via the Terminal, you can set the locale for either game client launcher via the following:

% defaults com.saltybanana.FreecivClient.GTKn write locale xxx

where n is either 1 or 2, and xxx can be either a two-character or five-character code. To see the current setting, do this:

% defaults com.saltybanana.FreecivClient.GTKn read locale

To clear the setting, simply delete the com.saltybanana.FreecivClient.GTKn.plist file from your account's Library/Preferences folder.

2. International Preference Pane. Each game launcher will scan the languages listed in this preference pane and look for the first one that is supported by Freeciv.

3. The LANG environment variable. This value must be 5 characters long. If the code (see above) for your language of choice is only two characters long, append _XY to it, where XY are the upper-case letters of the language code.

For example, to use Spanish, do this:

% setenv LANG es_ES

To use British English, do this:

% setenv LANG en_GB

If you choose this option, you probably need to set the environment variable and then open the game client launcher via the terminal. For example:

% setenv LANG es_ES
% open "/Applications/Games/Freeciv 2.0.3/Freeciv Client (GTK2).app"

Of course, you can also configure your shell to have the environment variable set every time you login.

4. American English is used.

The command-line examples above work for csh or tcsh. Adjust appropriately for your shell of choice.

Pick!
09-11-06, 17:42
Io lo guardai tempo fà su linux.
E' una versione freeware di civilization 2.
Bisognava prima lanciare il server, poi connettersi con il client.
Non so se serve X11 o meno, su mac non l'ho mai usato ed ora non ho modo di verificare.