[Cartoweb-dev] [Bug 1195] New: i18n infrastructure does not work with mapId of other projects

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Mon Nov 7 09:24:55 EST 2005


http://bugzilla.maptools.org/show_bug.cgi?id=1195

           Summary: i18n infrastructure does not work with mapId of other
                    projects
           Product: CartoWeb
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: cartoweb-dev at lists.maptools.org
        ReportedBy: sylvain.pasche at camptocamp.com


In most situation, a client.ini of project "myProject" contains:

mapId = myServer

However, if somebody wants to use a mapid of another project, with:

mapId = anotherProject.myServer2

Gettext will try to use the .mo generated file of the "anotherProject". But this
is broken, because we might have strings to be translated which are in the
original "myProject" project.

The main problem here is that the whole i18n subsystem makes the assumption that
only mapfile in the same project will be used.

For this bug to be solved, .mo files should read the mapId of the project, and
fetch the server strings inside that project. That means that changing the mapId
will force user to launch the po2mo script again.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.


More information about the Cartoweb-dev mailing list