From: Scott M. <sco...@gm...> - 2011-03-03 15:07:30
|
Yes, I saw the email come through about 5 hours after I'd sent it... Brutal is fine :-) I am under no illusions of "cooperation", but I'd thought that perhaps if we made minimal changes to the pieces we wanted we could nearly drop in replacements as Joomla made improvements. But, after starting to look at the work needed, the number of changes we will need to keep from sucking in the whole framework (which I totally agree, we don't want the entire framework) made this thought unrealistic. I understand the fear that perhaps adding internationalization now will hurt the overall progress, but I think this is an important piece, and I've now become familiar enough with the joomla libraries, that I'm not willing to just drop it at this point. I'm hopeful I can hammer out a decent "framework" borrowed and inspired by Joomla that will allow relatively easy translations within a week or two. Plus, the current state of the project says it's quite a long ways off from being released; 3 months or more would be my guess. If we were nearly ready for a release, I would be more easily swayed away :-) Thanks for providing the reality check, I'll start hacking, hammering, and reshaping things to work for us. -Scott On Thu, Mar 3, 2011 at 1:41 PM, Mark Wrightson <ma...@rw...>wrote: > Hi Scott, > > Your emails did come through, i've just been too busy to reply. > > I think the best idea is to take inspiration from Joomla and other source > files you have seen and create your own that suits our requirements that as > Dave says won't bloat the project with un-needed functions. > > I also think we should put translation on the todo list for a point after > we have got txsheet fully working and reskinned. Ultimately my main concern > is that there are so many changes being made at the moment, if we don't pool > our resources and complete them first, we will get to a point where all we > will have is a mess. > > Mark > > _____________________________________________ > > Mob: 07725 695178 > Email: ma...@rw... > > > On 03/03/2011 10:18, David Thompson wrote: > > Scott > Sorry for the late reply, I've been off skiing... > > To be brutal, the gain from "reusing" code from Joomla (or any other > project) is not worth it. Don't be under any illusion that the two projects > will cooperate. If you can see the value in the way that they are made, then > use that, but don't bloat us with functions that are not needed. Rather use > a pure framework (there are enough) for base functions. Zend_translate seems > pretty comprehensive for example. > > But since Mark and Peter have made great efforts to rewrite us without > using a framework, it seems excessive to add one now. Therefore I come back > to my previous suggestion to use base PHP libraries. > > Dave > > ------------------------------ > Date: Wed, 2 Mar 2011 17:15:41 +0000 > From: sco...@gm... > To: tsh...@li... > Subject: Re: [Tsheetx-developers] Proposal of contribution for a French > version > > The silence regarding my last email is deafening. I've begun to think > maybe I should just borrow entire classes, but I don't want this project to > be dependant upon joomla, so we have to draw the line somewhere, but > approximately where is that appropriate line? I'm pretty much unfamiliar > with Joomla, so, uneducated conjecture doesn't get me very far. Do we like > how they handle errors? I'm thinking that we would handle errors > differently than joomla, if so, the error classes should not be included. > > I'd originally thought I'd rename the classes to fit our project, but why > not leave the names the same? If anyone is familiar with Joomla, this might > help other developers improve tsheetx in the future. > > Please help me think through this stuff before I get sucked into a tar pit > :-) > > -Scott > > On Mon, Feb 28, 2011 at 5:56 PM, Scott Miller <sco...@gm...>wrote: > > Hey guys, > > I was intrigued with the JText stuff Isabelle pointed to in Joomla. I > originally was thinking we could just borrow the JText classes etc from > them, but that depends on several other Joomla classes. Some of those are > also intriguing enough that I'm now considering sucking some more base class > stuff from that project. > > Things I think could be useful for tsheetx: > > - JPath - file system path functions > - JFolder - file system folder functions > - JText - language translations > - JObject - generic object class, the others are built from > > I'm sure there are probably other things that could be interesting, but > this is as far as my research has gone thus far. JStream was also > interesting, but there's so much that we don't need that I really don't want > to suck that in too. > > So, I'm sure this is not the first time one project has wanted to borrow > things from a different project. What are the feelings of others on doing > this? Currently, I'm thinking I only want to bring a sub-set of the > functionality provided by those classes. We have little or no need to copy, > create, move, or change files or directories, so, I'm just ripping all the > unneeded functionality out. I will be crediting the Joomla project of > course. > > -Scott > > On Sun, Feb 27, 2011 at 6:02 PM, Isabelle Vergely < > ver...@fr...> wrote: > > Hello Mark, > > I have a little experience with translations with an other CMS: Joomla. > > There is the class "JText" defined in libraries/joomla/methods.php. > > There are the following functions in this class: > > * The function "_" is used for translation of strings without variable; > example: JText ::_('search') with 'search' defined in the "French" file > "language\fr-FR\fr-FR.com_search.ini" as follows: SEARCH=Recherche > > * The function "sprintf" is used for translation of strings containing > variables; > example: JText::sprintf('EMAIL_INVALID', $email) with 'EMAIL_INVALID' > defined in the "English" file "language/en-GB/en-GB.com_mailto.ini" as > follows: > EMAIL_INVALID=The address '%s' does not appear to be a valid e-mail > address > > On Timesheet NG forums, I saw that other people are also interested inTimesheet > NG translation (German, Spanish). > > For version 2.0, if the development team chose to add the ability to easily > translate > Timesheet NG for non-English speakers, I can help you for the translation > into French. > Écouter > Lire phonétiquement > > Dictionnaire - Afficher le dictionnaire<http://www.google.fr/dictionary?source=translation&hl=fr&q=L%27%C3%A9quivalent%20pour%20le%20CMS%20Joomla%20est%20la%20m%C3%A9thode%20JText&langpair=fr%7Cen> > > 1. nom > 1. si > 2. B > 2. adverbe > 1. so > 2. that > 3. such > 4. as > 3. conjonction > 1. if > 2. whether > > > Isabelle. > > > ------------------------------------------------------------------------------ > > > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Tsheetx-developers mailing list > Tsh...@li... > https://lists.sourceforge.net/lists/listinfo/tsheetx-developers > > > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data generated by your applications, servers and devices whether physical, > virtual or in the cloud. Deliver compliance at lower cost and gain new > business insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ Tsheetx-developers mailing > list Tsh...@li... > https://lists.sourceforge.net/lists/listinfo/tsheetx-developers > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > > > _______________________________________________ > Tsheetx-developers mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/tsheetx-developers > > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Tsheetx-developers mailing list > Tsh...@li... > https://lists.sourceforge.net/lists/listinfo/tsheetx-developers > > |