PHP Classes

file format

Recommend this page to a friend!

      PHP Website Multi Language  >  All threads  >  file format  >  (Un) Subscribe thread alerts  
Subject:file format
Summary:entry variables format
Messages:5
Author:parism70
Date:2009-12-02 10:02:07
Update:2010-01-18 04:54:20
 

  1. file format   Reply   Report abuse  
Picture of parism70 parism70 - 2009-12-02 10:02:08
What would be great would be to accept entry files with normal variables too or mix of normal variables and arrays:

$login_login="Login";
$login_username="Username";
$login_username_reg="Choose your Username";
$login_button_alt="I'm already a member";

//---Professions
$Professiontitle="Profession";
$Professions=array (
""=>"Select...",
"Farmer"=>"Farmer",
"Retired"=>"Retired",
"Other"=>"Other",
);
//---End Professions

By the way i tried with your test and got empty variables as a result

  2. Re: file format   Reply   Report abuse  
Picture of Sandeep Kumar Sandeep Kumar - 2009-12-02 16:13:12 - In reply to message 1 from parism70
Dear Sir,

Yes it would be great and i promise you to add this in next version.

Regarding empty set, may be because file_get_contents is disable from your side. if you would like then please explain it bit more.

Hope you would like this class!

Thanks

  3. Re: file format   Reply   Report abuse  
Picture of parism70 parism70 - 2009-12-11 09:20:20 - In reply to message 2 from Sandeep Kumar
Thanks. Would be great to have the different variables formats with both quotes and double quotes in addition to the array format.

it file contains:

<?php
$lang=array(
'register'=>'',
'Password'=>'',
'login_submit'=>''
); ?>

so empty translation. hope it helps

  4. Re: file format   Reply   Report abuse  
Picture of parism70 parism70 - 2010-01-17 10:44:51 - In reply to message 1 from parism70
any updates? a shame as was promising idea

  5. Re: file format   Reply   Report abuse  
Picture of Sandeep Kumar Sandeep Kumar - 2010-01-18 04:54:20 - In reply to message 4 from parism70
Hi,

Actually i am very busy in a project so i will improve this after that still i am not getting mails to updates this things immediately. users are satisfy with this class. i am very sorry if i disappointed you in any way.