Jump to content

php script - arrays with forms


lasse48

Recommended Posts

hello

 

i have been trying to find a guide on how to make a script that outputs arrays on a webpage, in a textbox or something , so you just can copy it and paste it in google translater, after that paste the translated words into the text box and save it.

 

is there a way to do that?

Link to comment
Share on other sites

yes of course, good idea  :-* Thanks mate

 

 

Sample code:


<?php
if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );



global $VM_LANG;
$langvars = array (
'CHARSET' => 'ISO-8859-1',
'PHPSHOP_ERROR' => 'Fejl',
'PHPSHOP_CATEGORY' => 'Kategori',
'PHPSHOP_CATEGORIES' => 'Kategorier',
'PHPSHOP_ADMIN' => 'Administration',
'PHPSHOP_PRODUCT' => 'Produkt',
'PHPSHOP_LIST' => 'Vis',
'PHPSHOP_ALL' => 'Alle',
'PHPSHOP_DOWNLOADS_REMAINING' => '{count} downloads remaining',
'PHPSHOP_DOWNLOAD_VALID_UNTIL' => ' until {date}',
'USER_REGISTRATION_DISABLED' => 'User registration is disabled, it must be enabled in order to proceed.'
); $VM_LANG->initModule( 'common', $langvars );
?>


 

my conclusion of this , it will take many many hours to translate using a notepad  ::)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.