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
https://forums.phpfreaks.com/topic/220134-php-script-arrays-with-forms/
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  ::)

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.