Persian Language

Colin Law clanlaw at googlemail.com
Tue Jan 12 10:24:07 EST 2010


2010/1/12 Phil Longstaff <plongstaff at rogers.com>:
> I looked at the jalali calendar on Wikipedia (http://en.wikipedia.org/wiki/Iranian_calendar).  I don't know exactly what calendar widgets are used, but the major question would be whether it supports alternate month definitions (6 months of 31 days, followed by 5 months of 30 days, followed by 1 month of 29 or 30 days).  For the XML backend, I don't know how or if date strings are interpreted.  For SQL backends, dates are stored using mysql and postgresql TIMESTAMP columns, and I don't know if they support alternate calendars.  If they don't, we could use generic strings instead so that "20100230" (30th day of Gullan) has meaning whereas February 30th doesn't.

Would it not be better to keep the format in the database/file as it
is and change the UI date representation as appropriate?  If you
change the format of the stored data then an accounts file would not
be portable across languages.  Or perhaps I misunderstand your
meaning.

Colin L

>
> In general, this might cause a complete rework of date handling at a very basic level, but that isn't necessarily a bad thing.  I assume GDate doesn't support alternate calendars.
>
> Phil
>
>
>
>
> ________________________________
> From: Mehdi Alidoost <mehdi at ashian.ir>
> To: Christian Stimming <stimming at tuhh.de>; gnucash-devel at gnucash.org
> Sent: Tue, January 12, 2010 1:38:59 AM
> Subject: RE: Persian Language
>
> Hello.
> Thanks for your reply.
> I'll consider your suggestion for rest of file.
> By attachment I send second file contain 6% of file with fa_IR.po name. I
> think fa_IR must be better choose than fa.
>
> Also I want to is it possible to create local calendar for language? We need
> jalali Calendar for Persian , if you guide me I can develop this Calendar.
>
> Thanks a lot
> Mehdi Alidoost
>
>
>
> www.ashian.ir
> Email : info at ashian.ir
> RSS :(Latest News of our services) http://ashian.ir/blog31rss.aspx
> SMS:20009355355935
> Tel : 03113355854
> 05118413766
> 09355355935
>
>
>
>
> -----Original Message-----
> From: Christian Stimming [mailto:stimming at tuhh.de]
> Sent: Tuesday, January 12, 2010 12:01 AM
> To: gnucash-devel at gnucash.org
> Cc: Mehdi Alidoost
> Subject: Re: Persian Language
>
> Dear Mehdi Alidoost,
>
> Am Freitag, 8. Januar 2010 schrieb Mehdi Alidoost:
>> I find your software very interesting. And try to translate it to Persian.
>>
>> By attachment I send the first draft for testing result ( contains 2 % of
>> rows.)
>
> thank you very much for you interest! I have already copied your first draft
>
> into our SVN repository. I assume fa.po is the correct filename? Or fa_IR?
>
> I recommend you should read into http://wiki.gnucash.org/wiki/Translation to
>
> get an idea of how to continue with this task. In particular, I have two
> suggestions for you: First you should create a "glossary" first, which means
>
> you create a translation of the 100 key words of gnucash for yourself first,
>
> then continue with the actual translation afterwards in order to translate
> the
> key words consistently throughout the program. As a second suggestion, you
> don't have to continue your work throughout the fa.po file from top to
> bottom,
> but I propose you should start gnucash and have a look at all the english-
> language strings you see, then translate specifically those strings that you
>
> see, because this will let you see the progress much faster.
>
>> How can I compile this for windows?
>
> We provide nightly builds for windows on
> http://code.gnucash.org/builds/win32/trunk/ ; once a build with revision
> number r18558 or greater is there, it will already show up with your draft
> translation if started in fa_IR or fa locale settings. Otherwise, see
> http://wiki.gnucash.org/wki/Windows for more information on how to compile
> this on your own.
>
> Regards,
>
> Christian Stimming
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>


More information about the gnucash-devel mailing list