$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Internationalization in MvvmCross
Search
Stuart Lodge
May 14, 2013
Technology
2
1.3k
Internationalization in MvvmCross
Stuart Lodge
May 14, 2013
Tweet
Share
More Decks by Stuart Lodge
See All by Stuart Lodge
Future Decoded - VisualStudio and Xamarin talk
cirrious
0
220
Data Bind Everything
cirrious
0
5k
MvvmCross - Presentation to BCS Edinburgh
cirrious
0
200
MobDevCon MvvmCross Workshop
cirrious
0
3.4k
Static Version of MvvmCross Evolve talk
cirrious
0
150
Jago?
cirrious
0
190
Presenters in MvvmCross
cirrious
1
32k
Saying SOLID with PCL
cirrious
0
3.5k
Using SQLite.Net In MvvmCross
cirrious
0
1.1k
Other Decks in Technology
See All in Technology
大企業でもできる!ボトムアップで拡大させるプラットフォームの作り方
findy_eventslides
1
700
Challenging Hardware Contests with Zephyr and Lessons Learned
iotengineer22
0
180
AWS Bedrock AgentCoreで作る 1on1支援AIエージェント 〜Memory × Evaluationsによる実践開発〜
yusukeshimizu
6
380
日本Rubyの会の構造と実行とあと何か / hokurikurk01
takahashim
4
1k
ガバメントクラウド利用システムのライフサイクルについて
techniczna
0
190
技術以外の世界に『越境』しエンジニアとして進化を遂げる 〜Kotlinへの愛とDevHRとしての挑戦を添えて〜
subroh0508
1
430
[CMU-DB-2025FALL] Apache Fluss - A Streaming Storage for Real-Time Lakehouse
jark
0
110
Lessons from Migrating to OpenSearch: Shard Design, Log Ingestion, and UI Decisions
sansantech
PRO
1
110
「Managed Instances」と「durable functions」で広がるAWS Lambdaのユースケース
lamaglama39
0
300
意外とあった SQL Server 関連アップデート + Database Savings Plans
stknohg
PRO
0
300
形式手法特論:CEGAR を用いたモデル検査の状態空間削減 #kernelvm / Kernel VM Study Hokuriku Part 8
ytaka23
2
450
エンジニアリングをやめたくないので問い続ける
estie
2
1.1k
Featured
See All Featured
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Designing Experiences People Love
moore
143
24k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.2k
Typedesign – Prime Four
hannesfritz
42
2.9k
The Pragmatic Product Professional
lauravandoore
37
7.1k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.3k
Java REST API Framework Comparison - PWX 2021
mraible
34
9k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.1k
Bash Introduction
62gerente
615
210k
Making Projects Easy
brettharned
120
6.5k
Transcript
Internationalisation i18n
3 ways to i18n Text… 1. Use MS/Xamarin way –
.Resx files (possibly with Rdio/Vernacular) and then XAML and code… 2. Use MvvmCross way – Json 3. Build your own (maybe on top of 1 or 2)
The MvvmCross way • Use the JsonLocalisation Plugin – (which
requires the ResourceLoader Plugin) • Text is linked to ViewModels
Some set up required… • TextProviderBuilder/TextProvider in App • TextSources
in ViewModels – Add SharedTextSources if required • ValueConverter in Setup* * Hopefully gone soon
Using JSON for text Default/Root LolCat ProperEnglish
Folders for languages
Build Actions • Droid – AndroidAsset • Touch – Content
• Windows – Content • Or… write some code to use EmbeddedResources inside the Core PCL!
Bindings Windows
Bindings Droid
Bindings Touch
Sample Operations shown in a few apps… https://github.com/slodge/MvvmCross- Tutorials/tree/master/Babel https://github.com/slodge/MvvmCross-
Tutorials/tree/master/Sample%20-%20CirriousConference
See also https://github.com/rdio/vernacular http://opendix.blogspot.ch/2013/05/using-resx-files-for- localization-in.html