Currently, Mapguide is only available in English versions. In the process of using MapGuide for development, we often need to refine the MapGuide interface to better meet customers' usage habits. The work of the Chinese language involves many areas, such as common tool menus, tool prompts, interface information, and error prompts. They may need different methods in the Chinese language, some need to replace the resource file (for the method of resource replacement, we have post discussions on the mgdn forum, and some other netizens download the compiled resource file, you can go to the mgdn forum to search). Some users only need to make minor changes in MapGuide Studio to achieve localization. In this article, we will describe the list of layer fields in Chinese.
As you know, when setting layers in MapGuide Studio, you can set to display the attribute information of the selected object in the browser. For example
Select the fields that need to be displayed in the Viewer. Generally, when designing data, the field names are all in English or pinyin, while avoiding Chinese characters as much as possible to avoid unpredictable consequences. However, Chinese characters are often displayed on the interface. Note that "Name to Display" can be customized by changing this attribute. Click the field selected in the "Name to Display" column, and then click to modify it. For example:
In this way, after simple settings, the interface will become Chinese. Is it much better?
Add more in-depth knowledge. In the previous article, we did not know the resource and resource content once. as a resource, layer settings are also saved in the resource content represented in xml. How is the xml Representation Corresponding to the above Modification on the MapGuide Studio interface? You can use edit as xml in Maestro or save as xml in MapGuide studio to view the information:
<PropertyMapping> <Name> FeatId </Name> <Value> FeatId </Value> </PropertyMapping> <Name> Name </Name> <Value> Name </ value> </PropertyMapping> <Name> Fuzeren </Name> <Value> owner </Value> </PropertyMapping>
What other simple operations have you not found? If you have also found it, you are also welcome to follow the post or discuss it on mgdn.