Globalization
.net6 for iOS and tvOS
In .net globalization support is done using International Components for Unicode code and data files.
Data files
icudt.dat
This is the complete version, approximatively 1.7 MB. For compatibility with other SDK / workloads this is the version included by default.
icudt_EFIGS.dat
A subset of the complete version.
EFIGS
stands for "English, French, Italian, German and Spanish".
This version is approximatively 600 KB.
This can be set inside your project (.csproj) file by adding the following line inside a <PropertyGroup>
:
<GlobalizationDataFile>icudt_EFIGS.dat</GlobalizationDataFile>
icudt_CJK.dat
A subset of the complete version.
CJK
stands for "Chinese, Japanese and Korean".
This version is approximatively 1 MB.
This can be set inside your project (.csproj) file by adding the following line inside a <PropertyGroup>
:
<GlobalizationDataFile>icudt_CJK.dat</GlobalizationDataFile>
icudt_no_CJK.dat
This subset has everything except CJK specific globalization data. This version is approximatively 1.25 MB.
This can be set inside your project (.csproj) file by adding the following line inside a <PropertyGroup>
:
<GlobalizationDataFile>icudt_no_CJK.dat</GlobalizationDataFile>
Invariant
Globalization can be turned off. In such case everything is done with the CultureInfo.InvariantCulture
.
This can be set inside your project (.csproj) file by adding the following line inside a <PropertyGroup>
:
<InvariantGlobalization>true</InvariantGlobalization>
In this case none of the above dat
files will be included inside the application bundle, reducing the final size of the release app.
Contributing
Bindings
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status