Terminé

Php language file manipulation

The goal is to make a translation tool form out to php language files sorted in different folders.

An example with the structure

- french/[url removed, login to view]

- french/[url removed, login to view]

- english/[url removed, login to view]

- english/[url removed, login to view]

If the french/[url removed, login to view] have the following structure

$lang['myword1'] = 'Bonjour';

And if the french/[url removed, login to view] have the following structure

$lang['myword1'] = '';

Then the tool would be able to show a table with input fields like

##############################################################

English French

myword1 < > <Bonjour>

myword2 ...

SAVE

##############################################################

When saving, the php files would be updated with the new values.

The tool script will have to be written in PHP, and take in input a file name (like file1.php) and a path leading to the language folders (like root/languages/)

#################################################
Some more precisions
The tool will have to be dynamic depending of the folder structure.
For example, with the following folder structure

root/FolderLanguage
Folder english
file1.php
file2.php
...
Folder french
file1.php
...
Folder spanish
file1.php
...
Folder xxx
...

Then the tool with the folowing inputs
$mainpath = 'root/FolderLanguage';
$file = 'file1.php'

will have to show

English French Spanish XXXX
whatever1 < > < > < > < >
whatever2 < > < > < > < >

If in the future we decide to add some more languages, it must be possible just to add a folder, and a new column will appear.
If a variable exists in some folder and not in others, then it will have to be created.

Compétences : PHP

en voir plus : language translation english french, language file php, php language files, when in french translation, language french translation, file2, manipulation, language, language c++, structure php, form saving, php form save, different language, save table file, sorted form, english french php, translation language files, php structure, french language translation english, language french

Concernant l'employeur :
( 42 commentaires ) Steinkjer, Norway

Nº du projet : #655022

Décerné à:

psxl88

Please check PM

%selectedBids___i_sum_sub_4% %project_currencyDetails_sign_sub_5% USD en 1 jour
(52 Commentaires)
5.3

4 freelance font une offre moyenne de $45 pour ce travail

developer99

Ready to start now

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(11 Commentaires)
4.5
gauravagru

check your PMB

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(0 Commentaires)
0.0
vakeetharan

I have many experience in to handle php projects.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 4 jours
(0 Commentaires)
0.0