From: Scott M. <sco...@gm...> - 2011-03-30 19:29:29
|
---------- Forwarded message ---------- From: Scott Miller <sco...@gm...> Date: Wed, Mar 30, 2011 at 7:25 PM Subject: Re: [Tsheetx-developers] not receiving messages from the Tsheetx-developers list To: ver...@fr... Excellent, sounds like we're making some good progress. Dates: We'll need to ensure setlocale is called with the correct string retrieved from the configuration database once we get it all working. String Structure: I had already realized this, and have begun fixing some of those already (I did take French back in High School, 2.5 decades ago. I like to joke the only thing I remember in French is "Je ne parle pas Francais." but my actual recollection is really not a great deal better than that.) Accented letters: Good to know, we'll need to work on getting the headers fixed for you too. -Scott On Wed, Mar 30, 2011 at 7:06 PM, <ver...@fr...> wrote: > Scott, > > Thanks for your help. > > Now it works for each JText call with the variables being defined in the > ini language files. > > DATES: > ------ > But, dates are not automatically translated in French probably due to the > 'fra' parameter missing when setting the locale. > For 1.5.2 version, I coded the locale in timezone.inc with > setlocale(LC_ALL,'fr_FR','fra') to have all dates OK. > > STRING STRUCTURE: > ----------------- > Some strings are actually concatenation of JText calls and have to be > defined in other way as in English a string 'word1'.'word2' would be in > French 'word2'.'word1'. I will work on that latter. > > ACCENTED LETTERS/CHARSET: > ------------------------- > It's more convenient in the French language file to write words normally > with accented letters. > But the accented letters are not displayed correctly in timesheet pages. > > It is probably due to a conflict with the 'header' of timesheet pages > whereas the locale is set to 'fr-FR' in include/jclasses/factory.php: > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " > http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> > <head> > <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> > <meta http-equiv="Content-Style-Type" content="text/css" /> > <meta name="language" content="en" /> > > For Joomla pages, the 'header' when the French language is selected is: > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " > http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr-fr" lang="fr-fr"> > <head> > <meta http-equiv="content-type" content="text/html; charset=utf-8" /> > > I'm going to commit the current French language files in txsheet-2.0-demo. > > Isabelle. > > > ----- Mail Original ----- > De: "Scott Miller" <sco...@gm...> > À: "vergely isabelle" <ver...@fr...> > Envoyé: Mercredi 30 Mars 2011 17h53:02 GMT +01:00 Amsterdam / Berlin / > Berne / Rome / Stockholm / Vienne > Objet: Re: [Tsheetx-developers] not receiving messages from the > Tsheetx-developers list > > Actually, for testing purposes, you would need to modify a line in this > file: include/jclasses/factory.php > change the line that reads: > $locale = "en-GB"; > > to whatever locale string is appropriate for French. Since the > configuration stuff is currently broken, the locale is hard coded for now... > > -Scott > > > On Wed, Mar 30, 2011 at 3:48 PM, Scott Miller < sco...@gm... > > wrote: > > > Oh, load the various pages without the .php extension, and then the site > stuff will be automatically loaded. > > So, for example the URL should look like this: > http://devts.example.com/testing/test-language-stuff > > Yes, the configuration pages are broken, you would need to mess directly > with the configuration database tables for now, sorry. > > -Scott > > > > > > On Wed, Mar 30, 2011 at 3:42 PM, < ver...@fr... > wrote: > > > Hello, > > Thanks for checking my account in the subscriber list. > > For txsheet-2.0-demo, I made the update of my working copy with the last > revision (290). > > I will soon commit a 'fr-FR' directory in the 'include/language' directory > of > > https://tsheetx.svn.sourceforge.net/svnroot/tsheetx/branches/txsheet-2.0-demo/ > using TortoiseSVN. > > Test of the file 'testing/test-language-stuff.php' failed: > - Only this message 'Restricted Access' displayed on the page due to > if(!class_exists('Site'))die('Restricted Access'). > - If I ingore this line, there is an other error with the following line... > - I also tried to removed many '//' and/or '/* ... */' of ignored lines > and it doesn't work... > > Also: > On the config page: unable to change default values; message after the > click on 'Save Changes': NOT CONVERTED TO OO YET. > > I guess that there is still some code to modify/add to test the > languages... > > Isabelle. > > ----- Mail Original ----- > De: "Scott Miller" < sco...@gm... > > À: "vergely isabelle" < ver...@fr... > > Cc: tsh...@li... > Envoyé: Mardi 29 Mars 2011 20h27:02 GMT +01:00 Amsterdam / Berlin / Berne / > Rome / Stockholm / Vienne > Objet: Re: [Tsheetx-developers] not receiving messages from the > Tsheetx-developers list > > > > > Hi Isabelle, > > I looked at the subscriber list, and you are still a part of the list, and > you're still active, but you're set to receive digests, which should be sent > out daily. There have not been many emails on the list lately, to see if > you've missed any, you can check out the March archive . I've got a few > emails out I would like to see some feedback about, but nothing thus far. > > So, how are you doing as far as getting a handle on the code layout so you > can work on the French version? And are you familiar with SVN? You can do an > "svn update" at the root level of the code you checked out to automatically > get any files that have changed since you checked the code out. It's a good > practice to do an "svn update" each morning if you're actively working on > something. If you are unfamiliar with anything, please let us know; we're > happy to help out. > > -Scott > > > On Tue, Mar 29, 2011 at 4:51 PM, < ver...@fr... > wrote: > > > Hello, > > During 4 days of the previous week (March, from 23 to 26), my email address > was inactive: crash of the server hosting my email account. Since Sunday, it > works again. > Yesterday and today, I haven't received messages sent to the list. > My email has been deleted? > > Thanks in advance for your help. > > Isabelle. > > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Tsheetx-developers mailing list > Tsh...@li... > https://lists.sourceforge.net/lists/listinfo/tsheetx-developers > > > > |