From: Tim L. <guy...@gm...> - 2012-05-05 18:50:09
|
./configure (or possibly aclocal.m4) seems to be setting $DATADIRNAME to lib instead of share, and hence the constructed po/Makefile has itlocaledir set correspondingly. This results in my system doing: installing hu.gmo as /usr/local/lib/locale/hu/LC_MESSAGES/gramps.mo instead of: installing hu.gmo as /usr/local/share/locale/hu/LC_MESSAGES/gramps.mo etc. I have no idea why $DATADIRNAME is set to 'lib', nor why src/ TransUtils.py does not seem to look in "lib/locale", when it seems possible for make to put the files there. DOES ANYONE KNOW WHY ./configure DOES THIS? If I do: (because I am on a mac) set the International preference language to french, and then > export GRAMPSI18N=/usr/local/lib/locale > export LANG=fr_FR.UTF-8 > /usr/local/share/gramps I get gramps to run in French apparently correctly after the 'make install'. On 5 May 2012, at 08:22, Rob Healey wrote: > Dear Tim and Jerome: > > I followed what that wiki pge said to do, the same one that Tim is > speaking of. Here is what I got on the terminal: > > installing hu.gmo as /usr/local/share/locale/hu/LC_MESSAGES/gramps.mo > installing zh_CN.gmo as /usr/local/share/locale/zh_CN/LC_MESSAGES/ > gramps.mo > installing cs.gmo as /usr/local/share/locale/cs/LC_MESSAGES/gramps.mo > installing da.gmo as /usr/local/share/locale/da/LC_MESSAGES/gramps.mo > installing de.gmo as /usr/local/share/locale/de/LC_MESSAGES/gramps.mo > installing es.gmo as /usr/local/share/locale/es/LC_MESSAGES/gramps.mo > installing fr.gmo as /usr/local/share/locale/fr/LC_MESSAGES/gramps.mo > installing it.gmo as /usr/local/share/locale/it/LC_MESSAGES/gramps.mo > installing nb.gmo as /usr/local/share/locale/nb/LC_MESSAGES/gramps.mo > installing nl.gmo as /usr/local/share/locale/nl/LC_MESSAGES/gramps.mo > installing nn.gmo as /usr/local/share/locale/nn/LC_MESSAGES/gramps.mo > installing pl.gmo as /usr/local/share/locale/pl/LC_MESSAGES/gramps.mo > installing pt_BR.gmo as /usr/local/share/locale/pt_BR/LC_MESSAGES/ > gramps.mo > installing pt_PT.gmo as /usr/local/share/locale/pt_PT/LC_MESSAGES/ > gramps.mo > installing ru.gmo as /usr/local/share/locale/ru/LC_MESSAGES/gramps.mo > installing sv.gmo as /usr/local/share/locale/sv/LC_MESSAGES/gramps.mo > installing fi.gmo as /usr/local/share/locale/fi/LC_MESSAGES/gramps.mo > installing lt.gmo as /usr/local/share/locale/lt/LC_MESSAGES/gramps.mo > installing sk.gmo as /usr/local/share/locale/sk/LC_MESSAGES/gramps.mo > installing bg.gmo as /usr/local/share/locale/bg/LC_MESSAGES/gramps.mo > installing hr.gmo as /usr/local/share/locale/hr/LC_MESSAGES/gramps.mo > installing sl.gmo as /usr/local/share/locale/sl/LC_MESSAGES/gramps.mo > installing ca.gmo as /usr/local/share/locale/ca/LC_MESSAGES/gramps.mo > installing sq.gmo as /usr/local/share/locale/sq/LC_MESSAGES/gramps.mo > installing he.gmo as /usr/local/share/locale/he/LC_MESSAGES/gramps.mo > installing uk.gmo as /usr/local/share/locale/uk/LC_MESSAGES/gramps.mo > installing ja.gmo as /usr/local/share/locale/ja/LC_MESSAGES/gramps.mo > installing vi.gmo as /usr/local/share/locale/vi/LC_MESSAGES/gramps.mo > > So mine is working just fine! I do not understand why Tim is having > the problem that he is??? > > My question is: why was the directory changed from /usr/share/locale/ > %(lang)s/LC_MESSAGES/gramps.mo to /usr/local/share/locale/%(lang)s/ > LC_MESSAGES/gramps.mo ? > > I know that Fedora 17/18 has all of its translations in the first > one as well as all of its: > application-registry applications icons info locale man mime > mime-info pixmaps in /usr/share ? > > Was this decision made because gramps is also placed in /usr/local/ > share? > > Also I noticed in looking through /usr/local/share/locale, that > there is only 28 languages in that directory but in trunk/po, there > are 37 language codes??? > > Sincerely yours, > Rob G. Healey > > > On Fri, May 4, 2012 at 10:45 PM, Tim Lyons <guy...@gm...> > wrote: > > On 4 May 2012, at 19:46, Jérôme wrote: > > > DeepConnectionsGramplet is an addon. > > Since DeepConnections gramplet is an addon, it has no impact on the > timing of the 3.4 release (nor on the completeness of the roadmap). > > > Gramps is looking at multiple locations/domains for addons. > > I have updated the addons page here: > http://www.gramps-project.org/wiki/index.php?title=3.4_Addons > to describe how gramps 3.4 looks for addons. It no longer looks in two > places. The addons are installed through the Preferences dialogue > (except for some which are installed manually). > > > > > Yes, there is still some minor translation issues (PlaceCompletion > > or domain with strings using markup into a .glade file ? , hardcoded > > labels/returns). > > The problem I was having with translations is described below. For me > 'make install' is installing the translation files in /usr/local/lib/ > locale/<lg>/LC_MESSAGES/gramps.mo, but Gramps is not looking there for > the files. Maybe it is looking in /usr/local/share/locale, which is > where the wiki says the files are. > > Am I doing something wrong (because I do not usually use the > translations)? If there is a real problem here, then it needs to be > resolved before the release. > > regards, > Tim. > > > > > And I wanted to try to generate an alternative to current 'make.py' > > by using > > 'optparse' > > http://docs.python.org/library/optparse.html > > or 'argparse' > > http://docs.python.org/library/argparse.html#module-argparse > > > > Anyway, this is not specific to 3.4! > > Yes, let's ignore alternatives to make, because they are not relevant > to the 3.4.0 release. (Rob is working on this under GEPS026 in the > GEPS026 branch) > > > > > > Tim Lyons a écrit : > >> Benny Malengier wrote > >>> 2012/4/6 Tim Lyons <guy.linton@> > >>>> Is there any appetite for doing 3.3.2? Given apparent shortage of > >>>> resources, > >>>> I would be inclined not to proceed with that. > >>>> > >>> I would prefer if both are done. > >>> > >>> We just need someone to pull this, so we can ask Stephane to > >>> release. > >>> I have an important solicitation coming up, which is why I missed > >>> the end > >>> of March to finish up. > >>> > >>> As the major change is your citation change, perhaps you can > >>> finilize 3.4? > >>> So finish roadmap (by eg moving to 3.4.1), some final testing, > >>> actually > >>> installing gramps with make install, and testing the installed > >>> version. > >>> > >>> If this is ok, then you pass the baton to Stephane to decide on a > >>> time of > >>> release, which should be when you are actually available to help > >>> the days > >>> after release, should a follow up release be needed shortly after > >>> due to > >>> an > >>> unforeseen problem. > >>> > >> The roadmap is now OK (0005702: "Fadder" in does not > >> look like a bug) I have done the make install, but the translations > >> are > >> installed in /usr/local/lib/locale/<lg>/LC_MESSAGES/gramps.mo, and > >> they > >> don't seem to be found there. > >> this page of the wiki: > >> http://www.gramps-project.org/wiki/index.php?title=Translating_GRAMPS#Running_trunk_with_your_translation > >> says the translations are looked for in /usr/local/share/locale. > >> Which is right - am I doing something wrong - I am not very > >> familiar with > >> the translations? > >> Stephane, how are you fixed for bringing out a new release shortly? > >> Tim > >> -- > >> View this message in context: http://gramps.1791082.n4.nabble.com/prepare-gramps-3-4-tp4329757p4595279.html > >> Sent from the GRAMPS - Dev mailing list archive at Nabble.com. > >> > ------------------------------------------------------------------------------ > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. > >> Discussions will include endpoint security, mobile security and the > >> latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> _______________________________________________ > >> Gramps-devel mailing list > >> Gra...@li... > >> https://lists.sourceforge.net/lists/listinfo/gramps-devel > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions > will include endpoint security, mobile security and the latest in > malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gramps-devel mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-devel > > > > -- > Sincerely yours, > Rob G. Healey > > |