11 | | ||'''1[[br]]key extension'''||"wms_title_eng" "my title" [[br]] "wms_title_ger" "mein titel"||not appropriate imo|| main question here is: should resolving happen at [[br]] i) write time, i.e. only wms_title goes into mapobject [[br]] or [[br]] ii) read time, i.e. everything goes into mapobject, [[br]] corresponding key e.g. wms_title_ger is used for reading [[br]] [[br]] mapfile maintainable? validation? || |
12 | | ||'''2[[br]] runtime substitution'''||not appropriate imo||DATA "shapes/rivers_%language%.shp" [[br]] with ''language'' being a request parameter or global setting || already [http://mapserver.org/cgi/runsub.html implemented] in mapserver for certain parameters [[br]] [[br]] all required substitution scenarios (parameters) covered?|| |
| 11 | ||'''1[[br]]key extension'''||"wms_title_eng" "my title" [[br]] "wms_title_ger" "mein titel"||-|| main question here is: should resolving happen at [[br]] i) write time, i.e. only wms_title goes into mapobject [[br]] or [[br]] ii) read time, i.e. everything goes into mapobject, [[br]] corresponding key e.g. wms_title_ger is used for reading [[br]] [[br]] mapfile maintainable? validation? || |
| 12 | ||'''2[[br]] runtime substitution'''||-||DATA "shapes/rivers_%language%.shp" [[br]] with ''language'' being a request parameter or global setting || already [http://mapserver.org/cgi/runsub.html implemented] in mapserver for certain parameters [[br]] [[br]] all required substitution scenarios (parameters) covered? || |
| 13 | ||'''3[[br]] externalization'''||"wms_title" "IDC_TITLE"||DATA "IDC_SHAPES_RIVERS" with external files e.g. [[br]] [[br]] lang.eng [[br]] IDC_TITLE=my title [[br]] IDC_SHAPES_RIVERS=shapes/rivers_eng.shp [[br]](or IDC_SHAPES_RIVERS=shapes/eng/rivers.shp) [[br]] [[br]] lang.ger [[br]] IDC_TITLE=mein titel [[br]] IDC_SHAPES_RIVERS=shapes/rivers_ger.shp [[br]](or IDC_SHAPES_RIVERS=shapes/ger/rivers.shp)|| i think it's the most common way for internationalization [[br]] and there are many tools available to externalize strings [[br]] [[br]] again the question is: at which time the externalized [[br]] value should be resolved (e.g. while parsing [[br]] mapfile, during msApplySubstitutions, ...)|| |