首页 / 浏览问题 / 组件GIS / 问题详情
语言问题, Workspace Manager 出现中文字
匿名
2018年07月05日
组件里的Workspace Manager 总是出现中文字, 然而在iDesktop里的Workspace Manager 却是英文。

请问如何才能把它弄成英文字?

iobject 的版本是 8.1.1, os 是  windows 10

谢谢

1个回答

修改bin/supermap.xml 里面的<!--StartFragment -->

<!--set current display culture, the default value is 'system' will use system culture. for chinese is 'zh-CN', for english is 'en-US'  -->
<CurrentCulture>en-US</CurrentCulture>

4,620EXP 2018年07月05日
<?xml version="1.0" encoding="windows-1252"?><ugc>
<MapHardwareAccelerationEnable>false</MapHardwareAccelerationEnable>
<IsShowShaderAtmosphere>true</IsShowShaderAtmosphere>
<IsGraphicsAlphaEnable>true</IsGraphicsAlphaEnable>
<AnalystMemorySize>0</AnalystMemorySize>
<DTNameTablaNameSame>false</DTNameTablaNameSame>
<DumpEnabled>true</DumpEnabled>
<IsSceneAntialias>True</IsSceneAntialias>
<WorkspaceCacheFolder>./Cache/Workspace/</WorkspaceCacheFolder>
<IsSupportFloatTexture>true</IsSupportFloatTexture>
<Version>6.0</Version>
<CustomGraphicsEnable>false</CustomGraphicsEnable>
<ChangeCache_ByDelete>False</ChangeCache_ByDelete>
<IsHighPrecisionMode>false</IsHighPrecisionMode>
<IsImageClearer>false</IsImageClearer>
<RasterPaint_IsTiled>true</RasterPaint_IsTiled>
<CustomDPIX>96</CustomDPIX>
<CustomDPIY>96</CustomDPIY>
<RasterPrint_BlockSize>10</RasterPrint_BlockSize>
<IsOpenCLComputingEnabled>false</IsOpenCLComputingEnabled>
<IsMapInflated>false</IsMapInflated>
<SymbolDrawWithLineBrushColor>false</SymbolDrawWithLineBrushColor>
<FontsPath>C:/Windows/Fonts/</FontsPath>
<QPixmapEnable>false</QPixmapEnable>
<UseQtWhenDrawGraphicsMemLine>true</UseQtWhenDrawGraphicsMemLine>
<SystemPath>./Resource</SystemPath>
<UDBCreateRasterPro>false</UDBCreateRasterPro>
<SceneAntialiasValue>4</SceneAntialiasValue>
<MaxEditGeometrySize>10000</MaxEditGeometrySize>
<EntirePercent>100</EntirePercent>
<CacheFileLocation>./Cache/DatasetCache/</CacheFileLocation>
<DumpPath>./Dumps/</DumpPath>
<MySQLEngineType>1</MySQLEngineType>
<IsFreeTypeDrawTextOnWindows>false</IsFreeTypeDrawTextOnWindows>
<OvertimeDownload>8</OvertimeDownload>
<HPMapCacheThreadNum>1</HPMapCacheThreadNum>
<ImgBlockCacheSize>256</ImgBlockCacheSize>
<LayoutOverlap>10</LayoutOverlap>
<IsCUDAComputingEnabled>false</IsCUDAComputingEnabled>
<CustomDPIEnable>TRUE</CustomDPIEnable>
<FreeTypeLibPoolSize>5</FreeTypeLibPoolSize>
<SqlServerMultiThread>true</SqlServerMultiThread>
<WorldFilePath>C:/Windows/Fonts/</WorldFilePath>
<DumpType>0x1826</DumpType>
<IsSupportGridTerrain>true</IsSupportGridTerrain>
<UDBPagePackageSize>0</UDBPagePackageSize>
<IsAutoAvoid_MapCache>true</IsAutoAvoid_MapCache>
<OMPNumThreads>2</OMPNumThreads>
<GraphicsType>1</GraphicsType>
<OvertimeRefresh>500</OvertimeRefresh>
<MySQLMaxConn>100</MySQLMaxConn>
<PGSQLConnPoolSize>0</PGSQLConnPoolSize>
<WebCacheFilePath>./Cache/WebCache/</WebCacheFilePath>
<ShowProgress>true</ShowProgress>
<EPSFont type="external">EPSFont.xml</EPSFont>
<GraphicsMemFonts type="external">GraphicsMemFonts.xml</GraphicsMemFonts>
<PrjCode type="external">CodeTransition.xml</PrjCode>
<resource type="external">resource.xml</resource>
<Graphics3DDefaultFonts type="external">Graphics3DDefaultFonts.xml</Graphics3DDefaultFonts>
<PrjConfig type="external">PrjConfig.xml</PrjConfig>
<CurrentCulture>en-US</CurrentCulture>
<MapProfilesSetting type="object">
<IsOutputExternal>false</IsOutputExternal>
<IsToFile>false</IsToFile>
<IsEnabled>false</IsEnabled>
<IsGetDrawGeometryCount>false</IsGetDrawGeometryCount>
</MapProfilesSetting>
<LogSetting type="object">
<LogFormat>%DATETIME [%LEVEL] %MSG, ThreadID: %THREADID, Timespan(ms): %TIMESPAN, ResourceID: %RESID, SourceCode: %CODEFILE(%CODELINE)</LogFormat>
<LogDBConnectionInfo/>
<LogFileLocation>./log</LogFileLocation>
<LogCountInMemory>10000</LogCountInMemory>
<StorageType>Text</StorageType>
<MaxFileSize> 1048576 </MaxFileSize>
<LogEnabled>true</LogEnabled>
<LogCountToDisk>1</LogCountToDisk>
<LogPhysicalSave>true</LogPhysicalSave>
<ExceedSizeMode>NewFile</ExceedSizeMode>
<DateTimeFormat>%Y-%m-%d %H:%M:%S</DateTimeFormat>
<LogFilePrefix>iObjects</LogFilePrefix>
<IsFilter>false</IsFilter>
<LogDBConnectDriver/>
<IsAppend>true</IsAppend>
<LogLevel>error</LogLevel>
<OpLogLevel>Level0</OpLogLevel>
<LogTimeInterval>Day</LogTimeInterval>
</LogSetting>
</ugc>

以上是我的supermap.xml的内容,并没有任何有关Culture的代码。

...