May 17, 2012, 11:34:05 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Become a Bigace 3.0 beta tester
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Translating the Pre-Installer  (Read 11507 times)
0 Members and 1 Guest are viewing this topic.
Kevin
Global Moderator
Bigace Guru
*****
Posts: 3045



WWW
« on: December 27, 2008, 05:07:03 PM »

With BIGACE 2.5, the Pre-Installer script which extracs the BIGACE zip file is translated - for a better support for non-english speakers. The script uses the browsers language settings, to detect the best matching language.

Currently we have translations for: German, English, Swedish, Finnish

If you have some time left and are willing to contribute, we all would appreciate your help by translating the below code to your language:

Code:
    'en' => array(
            'bigace'                => 'BIGACE Web CMS',
            'description'           => 'This pre-installer script will help to extract BIGACE on your server.',
            'error_memory'          => 'This script cannot run, because your PHP engine has not enough memory available (currently: '.$freeMem.').<br>Please check your PHP setting (file: <u>php.ini</u>) "memory_limit". Its value should be at least "'.MEMORY_NEEDED.'M".',
            'error_memory_sm'       => 'The INI setting could not be modified for script runtime, cause SAFE MODE is activated.<br/>You might encounter problems when running BIGACE in this environment. Please contact the <a href="http://forum.bigace.de/">BIGACE Forum</a>.<br/>Open the <a href="README">README</a> file to get information about a manual installation.',
            'error_no_gz'           => 'The automatic extraction will not work, because your PHP has neither GZ support nor the ZIP modul activated.<br/><br/>Please read the <a href="http://wiki.bigace.de/bigace:installation" target="_blank">Installation Guide</a>.',
            'error_phpversion'      => 'BIGACE requires at least PHP Version '.PHPVERSION_NEEDED.' (yours: '.phpversion().'). Please read the News entry &quot;<a href="http://www.bigace.de/bigace-goes-php-5.html">BIGACE goes PHP 5</a>&quot;.',
            'error_one_subdir'      => 'MORE THAN ONE SUBDIRECTORY IS NOT SUPPORTED!',
            'intro'                 => 'PLEASE WAIT WHILE EXTRACTING FILES TO:',
            'please_wait'           => 'Do not reload, this will need some time!',
            'extracting'            => 'Extracting',
            'extract_button'        => 'INSTALL',
            'extracting_to'         => 'Extracting to',
            'extracting_success'    => 'Extracting was successful',
            'extracting_wait'       => 'Please be patient, this may take some time! You will be redirected automatically.',
            'folder'                => 'Sub-directory',
            'folder_here'           => 'If you want to extract the files here, leave this empty!',
            'folder_info'           => 'Specify a directory, if you want to extract not in the current folder:',
'multiple_files' => 'More than one file is found, that might be a BIGACE installation ZIP.<br>Please select the one you want to install from:',
'multiple_files_select' => 'Select file to install from',

            'safemode_error'        => 'You have activated <b>Safe Mode</b>!',
            'safemode_info'         => 'BIGACE might not work properly with PHPs activated SAFE MODE, nevertheless the installation script was able to execute.',
            'safemode_patch'        => 'Successful created Safemode Patch.',
            'safemode_next'         => 'Go on with the installation.',
            'safemode_subdir'       => 'You have SAFE MODE activated. The Installer will only work, if you install in a Sub-Directory!',

            'error_extract'         => 'ERRORS OCCURED DURING EXTRACTION.<br>PLEASE FIX THE PROBLEMS AND RELOAD THIS PAGE!',
            'error_rights_startdir' => 'CHANGE THE DIRECTORY ACCESS RIGHTS TO "0777" FOR DIRECTORY',
            'error_safemode_patch'  => 'The script failed, creating the Safemode Patch. Please report this at the <a href="http://forum.bigace.de/" target="_blank">BIGACE Forum</a>.',
            'upload_info'           => 'Could not find a BIGACE installation ZIP File, please upload the BIGACE Install ZIP File with this formular.',
            'upload_choose_file'    => 'Please choose the BIGACE ZIP, that was part of the original download!',
            'upload_btn'            => 'Upload File...',

            'next_title_install'    => '',
            'next_upgrade_link'     => 'Start Upgrade',
            'next_install_teaser'   => 'Click here, if you are not redirected to the Installation',
            'next_upgrade_info'     => "Now you can execute the update.",// and don't forget to apply the manual configuration changes. <br>A link for getting more information is shown at the end of the upgrade process!",
),

After translation, copy & paste your changes here or send me a private message with the code. I will then review it quickly, give you feedback and then add it to the installer for the next version.

Thanks for your help in advance Cheesy Cheesy Cheesy
Kevin
« Last Edit: October 26, 2009, 05:48:30 PM by Kevin » Logged

Dragonslayer
Team
Bigace Expert
*****
Posts: 376


WWW
« Reply #1 on: December 28, 2008, 12:58:55 AM »

here are a swedish translation note the SV
Code:
  'sv' => array(
    'bigace'     => 'BIGACE - ditt PHP Web CMS',
    'description' => 'Det här pre-installer scriptet hjälper dig att packa upp BIGACE på din server.',
    'error_memory'     => 'Det här skriptet kan inte köras, eftersom PHP motorn inte har tillräckligt med minne tillgängligt (aktuellt: '.$freeMem.').<br>Vänligen kontollera din PHP inställning (fil: <u>php.ini</u>) "memory_limit". värdet bör vara minst"'.MEMORY_NEEDED.'M".',
    'error_memory_sm'       => 'Eftersom SAFE MODE är aktivt, kan inte inställnigarna i INI filerna modifieras.<br/>Du kanske stöter på problem med denna inställning när du kör BIGACE. Vänligen uppsök <a href="http://www.bigace.de/forum/">BIGACE Forumet</a>.<br/>Öppna <a href="README">README</a> filen för att få information om manuell installation.',
    'error_no_gz'     => 'Uppackningen kan inte slutföras eftersom ditt PHP inte har stöd för GZ.<br/><br/>Vänligen läs <a href="http://wiki.bigace.de/bigace:installation" target="_blank">Installations Guiden</a>.',
    'error_phpversion' => 'BIGACE kräver minst PHP Version '.PHPVERSION_NEEDED.' (din: '.phpversion().'). Vänligen läs nyhetssidan &quot;<a href="http://www.bigace.de/bigace-goes-php-5.html">BIGACE goes PHP 5</a>&quot;.',
        'error_one_subdir'      => 'MER ÄN EN UNDERKATALOG STÖDS INTE!',
            'intro'                 => 'VÄNLIGEN VÄNTA MEDANS FILERNA PACKAS UPP TILL:',
            'please_wait'           => 'Ladda inte om sidan, det tar lite tid!',
            'extracting'            => 'Extraherar',
            'extract_button'        => 'INSTALLERA',
            'extracting_to'         => 'Extraherar till',
            'extracting_success'    => 'Extrahering lyckades!',
            'extracting_wait'       => 'Vänligen vänta, det här kan ta en liten stund! Nästa sida kommer automatiskt.',
            'folder'                => 'underkatalog',
            'folder_here'           => 'Om du vill packa upp här, lämnar du fältet tomt!',
            'folder_info'           => 'Ange en katalog, ifall du inte vill använda aktuell katalog:',

            'safemode_error'        => 'Du har <b>Safe Mode</b> aktiverat!',
            'safemode_info'         => 'BIGACE kanske inte fungerar ordentligt med PHP i<b>Safe Mode</b>, Ändå lyckades installations skriptet.',
            'safemode_patch'        => 'Lyckades skapa Safemode Patch.',
            'safemode_next'         => 'Fortsätt med installationen.',
            'safemode_subdir'       => 'Du har SAFE MODE aktiverat. Scriptet kan då bara installera till en underkatalog!',

            'error_extract'         => 'ETT FEL UPPSTOD UNDER EXTRAHERINGEN.<br>VÄNLIGEN RÄTTA TILL PROBLEMEN OCH LADDA OM DEN HÄR SIDAN!',
            'error_rights_startdir' => 'ÄNDRA KATALOGRÄTTIGHETEN TILL "0777" FÖR KATALOGEN',
            'error_safemode_patch'  => 'Scritet misslyckades, skapar en Safemode Patch. Vänligen rapportera detta i <a href="http://www.bigace.de/forum/" target="_blank">BIGACE Forumet</a>.',
            'upload_info'           => 'Kunde inte hitta BIGACE installations ZIP Filen, vänligen ladda upp BIGACE Install ZIP Filen via detta Web Formulär!',
            'upload_choose_file'    => 'Vänligen välj BIGACE ZIP filen, som var med i det nedtankade paketet!',
            'upload_btn'            => 'Skicka fil...'
        ),

attaching a UTF-8 text file too..

Also when running your attached install.php without editing it did not show ANY text at all Sad
no fallback language?

* svenska.txt (3.36 KB - downloaded 461 times.)
Logged

Jenkky
Team
Member
*****
Posts: 32


« Reply #2 on: March 30, 2009, 07:42:22 AM »

Finnish translations of the pre-installer

Code:
'fi' => array(
            'bigace'                => 'BIGACE - sinun PHP Web CMS',
            'description'           => 'Tämä esi-asennus skripti auttaa sinua kopioimaan BIGACE:n palvelimeesi.',
            'error_memory'          => 'Tätä skriptiä ei voida käynnistää, koska PHP koneella ei ole riittävästi saatavaa muistia (saatavilla: '.$freeMem.').<br>Ole hyvä tarkista PHP asetukset (tiedosto: <u>php.ini</u>) "memory_limit". Arvo on oltava vähintään "'.MEMORY_NEEDED.'M".',
            'error_memory_sm'       => 'INI asetusta ei voitu muokata skriptin ajoon, koska SAFE MODE on aktivoitu.<br/>Virheitä voi ilmetä BIGACE:n ajossa tässä ympäristössä. Ole hyvä ota yhteyttä <a href="http://forum.bigace.de/">BIGACE Foorumissa</a>.<br/>Avaa <a href="README">README</a> tiedosto saadaksesi tietoa manuaalisesta asennuksesta.',
            'error_no_gz'           => 'Automaattista kopioimista ei voida käynnistää, koska PHP asennuksessasi ei ole GZ tukea.<br/><br/>Ole hyvä lue <a href="http://wiki.bigace.de/bigace:installation" target="_blank">Asennus ohjeet</a>.',
            'error_phpversion'      => 'BIGACE vaatii vähintään PHP Versiota '.PHPVERSION_NEEDED.' (nykyinen: '.phpversion().'). Ole hyvä lue lisää kohdassa &quot;<a href="http://www.bigace.de/bigace-goes-php-5.html">BIGACE goes PHP 5</a>&quot;.',
            'error_one_subdir'      => 'ENEMMÄN KUIN YKSI ALA-KANSIO EI OLE TUETTU!',
            'intro'                 => 'OLE HYVÄ ODOTA SILLÄ AIKAA KUN TIEDOSTOT KOPIOIDAAN KANSIOON:',
            'please_wait'           => 'Älä päivitä sivua, tämä kestää hetken!',
            'extracting'            => 'Kopioidaan',
            'extract_button'        => 'ASENNA',
            'extracting_to'         => 'Kopioidaan kansioon',
            'extracting_success'    => 'Kopioiminen onnistui',
            'extracting_wait'       => 'Ole kärsivällinen, tämä voi kestää hetken! Sinut edelleenvälitetään automaattisesti.',
            'folder'                => 'Ala-kansio',
            'folder_here'           => 'Jos haluat kopioida tiedostot tänne, jätä kenttä tyhjäksi!',
            'folder_info'           => 'Syötä kansion nimi, jos et halua kopioida tiedostot nykyiseen olevaan kansioon:',

            'safemode_error'        => 'Olet aktivoinut <b>Safe Mode</b>!',
            'safemode_info'         => 'BIGACE ei ehkä toimi kunnollisesti PHPn tilassa SAFE MODE, tästä huolimatta skripti onnistui suoriutumaan.',
            'safemode_patch'        => 'Safemode Patch:in luominen onnistui.',
            'safemode_next'         => 'Jatka asennus.',
            'safemode_subdir'       => 'Sinulla on SAFE MODE aktivoitu. Asennus toimii vain, jos asennat ala-kansioon!',

            'error_extract'         => 'VIRHEITÄ ILMEISTYI KOPIOIMISEN YHTEYDESSÄ.<br>OLE HYVÄ KORJAA ONGELMAT JA PÄIVITÄ TÄTÄ SIVUA!',
            'error_rights_startdir' => 'MUUTA KANSION OIKEUDET ARVOON "0777"',
            'error_safemode_patch'  => 'Skripti epäonnistui Safemode Patch:in luomisen yhteydessä. Ole hyvä raportoi asiasta <a href="http://forum.bigace.de/" target="_blank">BIGACE Foorumissa</a>.',
            'upload_info'           => 'BIGACE:n asennukseen tarvittavaa ZIP arkistoa ei löytynyt, ole hyvä lataa BIGACE asennuksen ZIP arkisto tällä lomakkeella.',
            'upload_choose_file'    => 'Ole hyvä valitse BIGACE ZIP arkisto, joka toimitettiin alkuperäisessä latauksessa!',
            'upload_btn'            => 'Lataa Tiedosto...',

            'next_title_install'    => 'Asennus',
            'next_upgrade_link'     => 'Käynnistä Päivitys',
            'next_install_teaser'   => 'Napauta linkkiä jos sinua ei edelleenvälitetä sivulle',
            'next_upgrade_info'     => "Nyt voit käynnistää päivityksen, muista myös asettaa manuaalisesti asetuksien muutokset. <br>Lisää tietoa löydät linkistä, joka näytetään päivityksen loppuvaiheessa!",
),


Jenkky
« Last Edit: April 16, 2009, 11:41:29 PM by Kevin » Logged
freade
Newbie
*
Posts: 2


« Reply #3 on: May 30, 2009, 06:21:45 PM »

Portuguese translations for the installer

Code:
'en' => array(
            'bigace'                => 'BIGACE - O seu PHP Web CMS',
            'description'           => 'Este script de pré instalação irá ajudá-lo a extrair o BIGACE em seu servidor.',
            'error_memory'          => 'Este script não pôde rodar pois seu PHP engine não possui memória suficiente disponível (atual: '.$freeMem.').<br>Por favor cheque as configurações de seu PHP (arquivo: <u>php.ini</u>) "memory_limit". Este valor precisa ser ao menos "'.MEMORY_NEEDED.'M".',
            'error_memory_sm'       => 'A configuração do INI não pôde ser modificada para o tempo de execução do script pois o MODO DE SEGURANÇA está ativado.<br/>Você pode ter problemas para rodar o BIGACE neste ambiente. Por favor contacte o <a href="http://forum.bigace.de/">Fórum do BIGACE</a>.<br/>Abra o arquivo <a href="README">LEIAME</a> para obter informação sobre como instalar manualmente.',
            'error_no_gz'           => 'A extração automática não irá funcionar pois seu PHP não tem suporte para arquivos GZ.<br/><br/>Por favor leia o <a href="http://wiki.bigace.de/bigace:installation" target="_blank">Guia de Instalação</a>.',
            'error_phpversion'      => 'BIGACE requer ao menos PHP Versão '.PHPVERSION_NEEDED.' (yours: '.phpversion().'). Por favor vejas as Novidades &quot;<a href="http://www.bigace.de/bigace-goes-php-5.html">BIGACE muda para PHP 5</a>&quot;.',
            'error_one_subdir'      => 'MAIS DO QUE UM SUBDIRETÓRIO NÃO É SUPORTADO!',
            'intro'                 => 'POR FAVOR ESPERE ENQUANTO OS ARQUIVOS SAO EXTRAIDOS PARA:',
            'please_wait'           => 'Não atualize a página, isto necessita de algum tempo!',
            'extracting'            => 'Extraindo',
            'extract_button'        => 'INSTALAR',
            'extracting_to'         => 'Extraindo para',
            'extracting_success'    => 'Extração concluída com sucesso',
            'extracting_wait'       => 'Por favor seja paciente, isto pode levar algum tempo! Você será redirecionado automaticamente.',
            'folder'                => 'Subdiretório',
            'folder_here'           => 'Se você quiser extarir os arquivos aqui, bigace_install_2.5_RC3.zip deixe este campo vazio!',
            'folder_info'           => 'Especifique um diretório caso não queira extrair para dentro da pasta atual:',

            'safemode_error'        => 'Você ativou o <b>Modo de Segurança</b>!',
            'safemode_info'         => 'BIGACE pode não funcionar adequadamente com MODO DE SEGURANÇA do PHP ativado, todavia o script de instalação pôde ser executado.',
            'safemode_patch'        => 'Patch de Modo de Segurança criado com sucesso.',
            'safemode_next'         => 'Prossiga com a instalação.',
            'safemode_subdir'       => 'O MODO DE SEGURANÇA está ativado. O Instalador funcionará somente se você instalar em um Subdiretório!',

            'error_extract'         => 'ALGUNS ERROS OCORRERAM DURANTE A EXTRAÇÃO.<br>POR FAVOR CONSERTE OS PROBLEMAS E RECARREGUE ESTA PÁGINA!',
            'error_rights_startdir' => 'ALTERE OS DIREITOS DE ACESSO DO DIRETÓRIO PARA "0777"',
            'error_safemode_patch'  => 'O script falhou em criar o Patch de Modo de segurança. Por favor reporte este problema no <a href="http://forum.bigace.de/" target="_blank">Fórum BIGACE</a>.',
            'upload_info'           => 'Não foi possível encontrar o arquivo ZIP da instalação do BIGACE, por favor faça upload do ZIP de Instalação do BIGACE através deste formulário.',
            'upload_choose_file'    => 'Por favor selecione o arquivo ZIP do BIGACE que faça parte do download original!',
            'upload_btn'            => 'Enviar arquivo...',

            'next_title_install'    => 'Instalação',
            'next_upgrade_link'     => 'Começar a Atualização',
            'next_install_teaser'   => 'Clique no link se você não for redirecionado para',
            'next_upgrade_info'     => "Agora você pode executar o update e não se esqueça de aplicar alterações de configuração manual. <br>Um link para obter maiores informações será mostrado ao final do processo de atualização!",
),

UTF-8 text attached

Let me know if its ok!

 Smiley

* pt-instalation.txt (4.21 KB - downloaded 415 times.)
Logged
Kevin
Global Moderator
Bigace Guru
*****
Posts: 3045



WWW
« Reply #4 on: May 30, 2009, 06:30:09 PM »

Looks great - well actually I cannot really read/test, beside checking that all keys are there Grin
Ah, one thing - its 'pt' not 'en' , fixed that.

Thanks for your translations, added it to CVS (let me know if I can help with the other translations!).
Logged

Kevin
Global Moderator
Bigace Guru
*****
Posts: 3045



WWW
« Reply #5 on: October 18, 2009, 05:05:16 PM »

Hi Community!

I need your help  Wink I applied a small change to a translation within the Pre-Installer. Probably you want to change your keys...

The entry was changed from:
Code:
            'error_no_gz'           => 'The automatic extraction will not work, because your PHP has no GZ support.<br/><br/>Please read the <a href="http://wiki.bigace.de/bigace:installation" target="_blank">Installation Guide</a>.',
to:
Code:
            'error_no_gz'           => 'The automatic extraction will not work, because your PHP has neither GZ support nor the ZIP modul activated.<br/><br/>Please read the <a href="http://wiki.bigace.de/bigace:installation" target="_blank">Installation Guide</a>.',

The next one has changed to:
Code:
            'next_install_teaser'   => 'Click here, if you are not redirected to the Installation',

Thanks for you help Smiley
Logged

Dragonslayer
Team
Bigace Expert
*****
Posts: 376


WWW
« Reply #6 on: October 21, 2009, 10:02:56 AM »

Swedish
Code:
'error_no_gz' => 'Uppackningen kan inte slutföras eftersom ditt PHP varken har stöd för GZ eller ZIP modulen.<br/><br/>Vänligen läs <a  href="http://wiki.bigace.de/bigace:installation" target="_blank">Installations Guiden</a>.',
   

Code:
'next_install_teaser' => 'Klicka här, ifall du inte automatiskt skickas till installationen',
Logged

Kevin
Global Moderator
Bigace Guru
*****
Posts: 3045



WWW
« Reply #7 on: October 21, 2009, 12:30:15 PM »

Thanks, added swedish!
Logged

Dragonslayer
Team
Bigace Expert
*****
Posts: 376


WWW
« Reply #8 on: October 26, 2009, 11:23:47 AM »

there are a couple of strings that are not translated:
Code:
More than one file is found, that might be a BIGACE installation ZIP.
Please select the one you want to install from:

Select file to install from:
swedish:
Code:
Det finns mer än en fil som skulle kunna vara BIGACE installationen.
Vänligen välj den du vill använda:

Välj fil att installera från:
Logged

Kevin
Global Moderator
Bigace Guru
*****
Posts: 3045



WWW
« Reply #9 on: October 26, 2009, 05:49:04 PM »

Thanks, added keys for these translations!
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by SMF | Simple Machines LLC