i18n bug in inlines (failing silently)

2011-01-15 Thread Marc Garcia
Hey guys, I just detected a bug, that causes inlines to "disappear" if there are non-ascii characters on the inline data. I'm still working on detecting what's going on, and I'll fill a bug ticket when having all the information, but I just wanted to post my opinion on something related: filing

[soc2009/i18n] Final report

2009-08-18 Thread Marc Garcia
Hi folks, yesterday it was the last day for working on the Google Summer of Code, and here you have a brief report about what I did. Basically, my project could be divided in three parts: * Implement a system for formatting data localizing it. * Fix "random" i18n" tickets * Multilingual

Re: Status

2009-08-07 Thread Marc Garcia
nty-stick.com> wrote: > Hi Marc, > > On Wed, 2009-08-05 at 05:22 -0700, Marc Garcia wrote: > > [...] > > > Now, while waiting for feedback, I'll be fixing some minor i18n bugs, > > already reported on trac. I assigned to myself, what I plan to work > > on, so you can

[soc2008/i18n] Status

2009-08-05 Thread Marc Garcia
Hi folks, sorry for the late report. The formatting data part of my project has reached a "beta" version, and now it's ready for testing. I'm sure it'll be some work based on everybody's feedback, but it's mostly completed. Some things to mention about it, is that finally I couldn't import all

[soc2009/i18n] Weekly report

2009-07-12 Thread Marc Garcia
Hi folks! this week I've been working on formatting data depending on the locale. Finally I found a way to do it that I like. As Django fields aren't used when getting data from the db, I'm not finally using fields to localize data. I'm just formatting data from the localizable Python types on

Re: I need a pony: Model translations (aka "my proposal")

2009-07-11 Thread Marc Garcia
Hi David, I'm working on some other i18n parts right now, but I'll review your email before working on model translations. Thanks for sharing your idea, and I'll be back with comments soon. Cheers, Marc David Danier wrote: > Hi Marc, hi Gonzalo, hi django-dev, > > I'm writing this email,

[soc2009/i18n] Status and feedback needed

2009-07-03 Thread Marc Garcia
Hi folks, my exams are over, and I'm more than 100% on Django i18n right now. I've been researching and testing many different options for the part of displaying values in localized formats, and I have some conclusions that I would like to discuss with you: * It'll be a USE_FORMAT_I18N

[GSoC] i18n status

2009-06-08 Thread Marc Garcia
Hi folks! Most of what I did previous week is represented by changeset 10956 [1], that basically implements the base for localizing date and number format on Django. Summarizing, right now, Django uses gettext and translation catalogs to store some formats, that are used in few places on Django

[GSoC] i18n status

2009-06-01 Thread Marc Garcia
Hi folks, here in Barcelona we're on the final period of college, so couldn't spend much time on GSoC, because of practices and exams. I'll start working more starting this week, so my last practice deadline is this Wednesday, and full time after my last exam on June 25th. Anyway, no much code

[GSoC] Implementation of additional i18n features on Django

2009-05-24 Thread Marc Garcia
Hi folks, another brief report... Last weeks of this semester at college, so I had to spend many time on practices and exams, and could spend few in the GSoC. Anyway, I'm still waiting for more comments on the discussion [1] about ticket #7050 [2] to work on it. Regards, Marc [1]

[GSoC] Django i18n

2009-05-10 Thread Marc Garcia
Hi folks, this weekly report will be very short as I've been sick almost the whole week, and I couldn't work with anything related to Django or the GSoC (or anything actualy). As soon as I start feeling better I'll work on the ticket I posted on my previous report. Regards, Marc

[GSoC] i18n status

2009-05-03 Thread Marc Garcia
Hi folks, this is my report for this week on my summer of code. In short, I did nothing... :) I've some stuff to be done before focusing on it, but let me comment some things anyway. As well as maintaining the branch on Django subversion, I'll be using github [1] for working on my summer of

Re: About localization settings

2009-04-21 Thread Marc Garcia
k like: LONG_DATETIME = 'l jS \of F Y h:i:s A' [...] SHORT_DATE = 'm/d/Y' [...] On Apr 21, 9:26 pm, Malcolm Tredinnick <malc...@pointy-stick.com> wrote: > On Mon, 2009-04-20 at 15:04 -0700, Marc Garcia wrote: > > Hi folks, > > > just to warm up for my Google Summer of

Re: Newforms Admin - Overriding the Save Method of a ModelForm

2008-07-02 Thread Marc Garcia
Sure, just remember to return super(YourModelForm, self).save(commit) in it. On Jul 2, 9:10 am, John Boxall <[EMAIL PROTECTED]> wrote: > Hi everyone! > > I'm just trying out newforms admin - it's fantastic. I can't wait > until this makes it's way into trunk - > > A question - > I'd like to

Re: First day of week

2008-06-28 Thread Marc Garcia
that django already has a method for defining i18n settings). Thanks, Marc On Jun 27, 12:44 pm, Marc Garcia <[EMAIL PROTECTED]> wrote: > I don't think that this should be included in the 'must have' list (to > avoid postponing 1.0 date). What I want is to consider this feature > for

Re: First day of week

2008-06-27 Thread Marc Garcia
n Fri, Jun 27, 2008 at 3:23 AM, Marc Garcia <[EMAIL PROTECTED]> wrote: > > > Could it be added to 1.0 maybe list? I think that those features are > > essential for developing not only international websites, also for > > developing non international websites for most coun

Re: First day of week

2008-06-26 Thread Marc Garcia
Well, IMHO Jannis patch solves the problem for non internationalized applications (probably not 99% of them), and in a way that isn't the best one (also IMHO). I think that the best way to pass a i18n parameters from python libraries to javascript is the existing view '/admin/jsi18n/'. Doing it

First day of week

2008-06-26 Thread Marc Garcia
Hi all! I'll start working on a new (hopefully better) patch for ticket #1061 [1] that will allow customization of first day of week on django's admin calendar. IMHO this patch is very important, specially for all Django developers/ users working on countries where Sunday is not the first day

Re: Apps engine

2008-04-08 Thread Marc Garcia
ango users are interested in being able to use Google's infrastructure for our applications. -- Marc Garcia from http://vaig.be On Apr 8, 5:34 pm, "Marty Alchin" <[EMAIL PROTECTED]> wrote: > On Tue, Apr 8, 2008 at 11:30 AM, konryd <[EMAIL PROTECTED]> wrote: > > A questi

Re: Extending ImageField and using get_FIELD_filename

2008-01-22 Thread Marc Garcia
You should use django-users list for this question. Anyway, you can check this example where get_FIELD_filename() is used: http://vaig.be/2007/12/10/normalize-name-and-size-images-in-django-and-adding-thumbnails/ On Jan 22, 5:11 pm, clinch <[EMAIL PROTECTED]> wrote: > I'm hoping there's a quick

Re: newforms-admin and translated data

2007-12-29 Thread Marc Garcia
AIL PROTECTED]> wrote: > On Dec 26, 2007 9:26 AM, Marc Garcia <[EMAIL PROTECTED]> wrote: > > > > > No, the translations are ok, so outside the admin that translations > > are working fine. I thing it should be a problem of the admin. Has > > somebody tested

Re: newforms-admin and translated data

2007-12-26 Thread Marc Garcia
22-Dec-07, at 9:39 PM, Marc Garcia wrote: > > > If somebody could confirm that it's a bug I'll open the ticket, and > > I'll research more. > > check whether they are marked as 'fuzzy' in .po file > > -- > > regards > kghttp://lawgon.livejournal.comhtt

newforms-admin and translated data

2007-12-22 Thread Marc Garcia
I don't know if is it pending, or is a bug (or even is a problem of my setup), but I couldn't find information about it. When using newforms-admin branch all labels marked as translatable are not translated just in the admin application. If somebody could confirm that it's a bug I'll open the

Re: Little change for FileField

2007-12-08 Thread Marc Garcia
A ticket already existed for it, I improved the patch, and I think that now is ready for check in. http://code.djangoproject.com/ticket/5695 Could any commiter check it, please? Thanks! Marc On Dec 8, 4:45 am, "Marty Alchin" <[EMAIL PROTECTED]> wrote: > On 12/7/07,

Little change for FileField

2007-12-07 Thread Marc Garcia
Hi guys (specially Marty Alchin I think)! I've realized about a little issue with FileField in admin. Issues are invalid html code in widget (unclosed tag and invalid target attribute), and some labels that aren't translatable. I think that you're rewriting the whole FileField, but may be we

Re: FileField overwrite (Ticket #4339)

2007-12-04 Thread Marc Garcia
y ears perk up, so I'll > put in my thoughts on this subject. > > On Dec 4, 2007 10:43 AM, Marc Garcia <[EMAIL PROTECTED]> wrote: > > > I've seen ticket #4339 (http://code.djangoproject.com/ticket/4339) > > about allowing django users to create FileFields or ImageFields

FileField overwrite (Ticket #4339)

2007-12-04 Thread Marc Garcia
Hi! I've seen ticket #4339 ( http://code.djangoproject.com/ticket/4339 ) about allowing django users to create FileFields or ImageFields that overwrite files with same name. The ticket is in design decision needed. It's a little change, that just add an extra feature and is not backward

Re: Problems with FileFields/ImageFields

2007-11-17 Thread Marc Garcia
lete checkbox next to the type="file">:http://www.djangosnippets.org/snippets/469/ > > However, I'm not sure if it will work in admin. > > tom > > On 16.11.2007, at 18:12, Marc Garcia wrote: > > > > > There are a couple of things about FileFields that I

Problems with FileFields/ImageFields

2007-11-16 Thread Marc Garcia
There are a couple of things about FileFields that I want to comment. First one is about how to delete content in a FileField. With a example: I've a model: class Person(model.Model): name = models.CharField(maxlength=32) [...] picture = models.ImageField(upload_to='pictures',

Re: Is django_website svn updated?

2007-10-18 Thread Marc Garcia
Perfect, thanks. I could create patch for my ticket. Marc On Oct 18, 10:06 pm, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]> wrote: > On 10/18/07, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > > No -- the code for djangoproject.com that you see in Trac/Subversion > > is indeed the code we use for

Is django_website svn updated?

2007-10-17 Thread Marc Garcia
Hi! Some days ago I've found an error in django website, that I reported in ticket http://code.djangoproject.com/ticket/5644 I would like to add a patch for this ticket, but when I browse django_website subversion

Patch ready

2007-10-09 Thread Marc Garcia
Hi, I'm not sure if it's just that I'm being impatient, but in a ticket (#4036), after some discussion, some candidate patches I've upload a patch that can be commited to subversion, and I've changed its triage stage to "Ready for checkin". Is it enough, or do I have to do anything else for

Regression tests for localflavor

2007-10-02 Thread Marc Garcia
Hi! I know that it's probably a newbie question, but I'm not sure how I've to make regression tests to a new localflavor that I've developed. I've seen that there is a test file for every localflavor in .../trunk/ tests/regressiontests/forms/localflavor/ but I'm not sure if that file is

development documentation

2007-07-15 Thread Marc Garcia
Hi all! Is there any django development documentation? I couldn't find any document on how to start writting my own django add-on. Of course I can start browsing code, and looking for other add-ons, but may be there is a post in this list about that, or a wiki page that I cannot found. Thinks

Re: Translated fields

2007-07-14 Thread Marc Garcia
TED]> wrote: > Have you seenhttp://code.google.com/p/i18ndynamic/? :) > > On Jul 11, 3:16 pm, Marc Garcia <[EMAIL PROTECTED]> wrote: > > > Hi all! > > > I've been searching for a way to create a multilingual catalog with > > django, and there is just one th

Translated fields

2007-07-11 Thread Marc Garcia
Hi all! I've been searching for a way to create a multilingual catalog with django, and there is just one thing missing, a simple way for translating information on database, for example having product description in more than one language. I've checked translation module on django-utils, and