? 882164-install-language-34.patch
? 882164-install-language.patch
? sites/default/files
? sites/default/private
? sites/default/settings.php
Index: includes/install.core.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/install.core.inc,v
retrieving revision 1.28
diff -u -p -r1.28 install.core.inc
--- includes/install.core.inc 1 Sep 2010 01:24:05 -0000 1.28
+++ includes/install.core.inc 3 Sep 2010 09:41:46 -0000
@@ -1207,8 +1207,12 @@ function install_select_locale(&$install
drupal_set_title(st('Choose language'));
if (!empty($install_state['parameters']['localize'])) {
$output = '
' . st('With the addition of an appropriate translation package, this installer is capable of proceeding in another language of your choice. To install and use Drupal in a language other than English:') . '
';
- $output .= '- ' . st('Determine if a translation of this Drupal version is available in your language of choice. A translation is provided via a translation package; each translation package enables the display of a specific version of Drupal in a specific language. Not all languages are available for every version of Drupal.', array('@translations' => 'http://drupal.org/project/translations')) . '
';
- $output .= '- ' . st('If an alternative translation package of your choice is available, download and extract its contents to your Drupal root directory.') . '
';
+ $output .= '- ' . st('Determine if a translation of this Drupal version is available in your language of choice. A translation is provided via a translation package; each translation package enables the display of a specific version of Drupal in a specific language. Not all languages are available for every version of Drupal.', array('@translations' => 'http://localize.drupal.org/translate/downloads')) . '
';
+ $output .= '- ' . st('If an alternative translation package of your choice is available, follow these steps to install Drupal in your language:') . '
';
+ $output .= '- ' . st('Download the language file from the translation server,', array('@translations' => 'http://localize.drupal.org/translate/downloads')) . '
';
+ $output .= '- ' . st('Rename the file to your country\'s iso code, e.g. fr.po,', array('@iso' => 'http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements')) . '
';
+ $output .= '- ' . st('Create a directory named translations inside the directory of the profile you are planning to use. This is most likely inside profiles/standard.') . '
';
+ $output .= '- ' . st('Move the file you renamed to your country\'s two-character iso code (e.g. fr.po) inside the translations folder you just created.') . '
';
$output .= '- ' . st('Return to choose language using the second link below and select your desired language from the displayed list. Reloading the page allows the list to automatically adjust to the presence of new translation packages.') . '
';
$output .= '
' . st('Alternatively, to install and use Drupal in English, or to defer the selection of an alternative language until after installation, select the first link below.') . '
';
$output .= '' . st('How should the installation continue?') . '
';