From: Andy S. <an...@gm...> - 2008-08-15 05:52:39
|
On Thu, Aug 14, 2008 at 10:37 PM, John Britton <pu...@jo...>wrote: > Thanks for the feedback. > > All supported locales will be added, it's pretty easy to add a new locale, > but I'm prb going to wipe the DB a few more times during my testing so I > just added a few. I will add install, upgrade, and themes to the list... out > of curiosity can it be assumed that theme short names (ie matrix) will not > collide with module short names (ie comment)? > That's an unfortunate design mistake. There's nothing in G2's system that prevents that a theme and a module have the same plugin id. The unique key is on {pluginId, pluginType}. If it makes things easier for you, feel free to assume that pluginId is truly unique. Maybe it's gonna be like that in G2.4 anyway and I don't expect any theme / module to appear until then to violate that assumption. Certainly no official plugin. - Andy > There are actully 0 translated strings in the system... although there are > a few suggestions. Go ahead and try adding your own translations. You can > also import existing translations from the gallery PO files. > > John > > -- > contact info: > http://www.johndbritton.com > > > > On Fri, Aug 15, 2008 at 1:33 PM, Andy Staudacher <an...@gm...>wrote: > >> On Thu, Aug 14, 2008 at 9:24 PM, John Britton <pu...@jo...>wrote: >> >>> Hey All, >>> >>> l10n_server (beta) is active (http://dev.johndbritton.com), go have a >>> look! >>> >>> I'm currently harvesting strings from development snapshots, and >>> successfully gathering all of the associated metadata (module, release, >>> filename, line number, etc). PO files can be exported from project pages for >>> each individual language for a specific release (or for all releases and >>> projects as one giant PO file). Users can edit the translations offline >>> using their preferred method and upload their changes directly into the >>> language of their choice as "suggestions". Once a release is made (2.3 for >>> example) we can import it, parse the source and export translations. One >>> really cool feature is that l10n_server will remember all past translations. >>> When we make a new release, any strings that have been translated before (in >>> any prior release) will be automatically translated. You'll see that each >>> module is listed as a separate project, that is to facilitate the generation >>> of individual PO files for each module in each language. Unregistered users >>> can submit translation suggestions, while privileged users can approve >>> translations. Permissions can be delegated to individual users on a per >>> language basis, however for simplicity I have that functionality (along with >>> language groups) disabled while I continue to make improvements. >>> >>> I'm aware that some strings are not being harvested, I'm working on a fix >>> for that now (ie: stealing code from the gallery2/lib/tools/po/extract.php). >>> >> >> Yep, please don't duplicate code since extract.php is already pretty >> complex (ever seen such regular expressions? :) ). You could probably just >> call extract.php from your code. >> >> Some observations: >> - not all G2 supported locales are listed >> - install / upgrade aren't listed as projects. neither are themes. >> - the UI isn't super intuitive yet. or are there indeed 0 translated >> strings in the system? >> >> Really looking forward to having a translation server. This is gonna be >> big for Gallery. :) >> >> - Andy >> >> >>> >>> >>> Feedback is welcome >>> >>> John Britton >>> >>> -- >>> contact info: >>> http://www.johndbritton.com >>> >>> ------------------------------------------------------------------------- >>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>> challenge >>> Build the coolest Linux based applications with Moblin SDK & win great >>> prizes >>> Grand prize is a trip for two to an Open Source event anywhere in the >>> world >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> __[ g a l l e r y - d e v e l ]_________________________ >>> >>> [ list info/archive --> http://gallery.sf.net/lists.php ] >>> [ gallery info/FAQ/download --> http://gallery.sf.net ] >>> >> >> > |