[Geomoose-users] Add a language to GeoMoose

TC Haddad tchaddad at gmail.com
Fri Dec 11 17:10:20 PST 2020


Thanks Flavio!

and thank you to Eli for help incorporating!

On Fri, Dec 11, 2020 at 11:42 AM Eli Adam <eadam at co.lincoln.or.us> wrote:

> Thanks so much to Flavio for the Italian translation!  That has been
> incorporated into the project and Italian will be an available
> language after the next release.
>
> Best regards, Eli
>
> On Fri, Dec 11, 2020 at 12:59 AM flavio rigolon
> <flavio.rigolon at gmail.com> wrote:
> >
> > Hi Eli,
> >  thanks for the answer: this is my first time in Github and I've tried
> > to create a new issue with the it.json file. Hope it's ok.
> >
> > Best regards, flavio
> >
> > Il giorno lun 7 dic 2020 alle ore 15:29 Eli Adam
> > <eadam at co.lincoln.or.us> ha scritto:
> > >
> > > Hi Flavio,
> > >
> > > Adding additional languages is great!  Can you open a Github issue
> > > with it.json here, https://github.com/geomoose/gm3/issues?
> > >
> > > It looks like placement of the language file has come up before,
> > > https://github.com/geomoose/gm3/issues/544
> > >
> > > And maybe we should actively call for additional translations there
> too!
> > >
> > > Best regards, Eli
> > >
> > > On Sun, Nov 29, 2020 at 11:43 PM flavio rigolon
> > > <flavio.rigolon at gmail.com> wrote:
> > > >
> > > > Hi all,
> > > >  I'm using GeoMoose 3.6.2 and I've added my own "it.json" (italian
> language).
> > > > The default languages are stored in
> > > > "/srv/geomoose/gm3-example/htdocs/geomoose/src/gm3/lang/" but
> > > > following the instruction [1] is implied but not explicitly said that
> > > > we have to copy the. json file in the "home" directory (i.e.
> > > > "/srv/geomoose/gm3-example/htdocs/desktop"). So, in my case I've set
> > > > the "app.js" file like this:
> > > >
> > > > ------------------------------------------
> > > > var app = new gm3.Application({
> > > > mapserver_url: CONFIG.mapserver_url,
> > > > mapfile_root: CONFIG.mapfile_root,
> > > > map: {
> > > > scaleLine: {
> > > > enabled: true,
> > > > //    units: 'imperial'
> > > > units: 'metric'
> > > > }
> > > > },
> > > > lang: {
> > > > it: './it.json',
> > > > },
> > > > });
> > > > ------------------------------------------
> > > >
> > > > and it works fine.
> > > > Is it the case of edit the page [1] to explicitly point where the
> > > > .json file must be? (I think there is also a trivial typo error in
> the
> > > > page title: "...langauge" should be "...language").
> > > > I've translated the .json file in italian; do you think it could be
> > > > share to give a base point for other italian users like the es.json
> > > > one for spanish?
> > > >
> > > > my 2 cents
> > > > best regards
> > > > flavio
> > > >
> > > > [1] https://geomoose.github.io/gm3/howto/add-a-language.html
> > > >
> > > > --
> > > > /"\  ASCII Ribbon Campaign
> > > > \ /  Respect for low technology.
> > > >  X  Keep e-mail messages readable by any computer system.
> > > > / \  Keep it ASCII.
> > > > _______________________________________________
> > > > Geomoose-users mailing list
> > > > Geomoose-users at lists.osgeo.org
> > > > https://lists.osgeo.org/mailman/listinfo/geomoose-users
> >
> >
> >
> > --
> > /"\  ASCII Ribbon Campaign
> > \ /  Respect for low technology.
> >  X  Keep e-mail messages readable by any computer system.
> > / \  Keep it ASCII.
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geomoose-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20201211/8c6050d7/attachment.html>


More information about the Geomoose-users mailing list