Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
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
210
Data Bind Everything
cirrious
0
4.9k
MvvmCross - Presentation to BCS Edinburgh
cirrious
0
190
MobDevCon MvvmCross Workshop
cirrious
0
3.4k
Static Version of MvvmCross Evolve talk
cirrious
0
140
Jago?
cirrious
0
180
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
Language Update: Java
skrb
2
290
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
8.7k
実践!カスタムインストラクション&スラッシュコマンド
puku0x
0
380
人工衛星のファームウェアをRustで書く理由
koba789
15
7.7k
Platform開発が先行する Platform Engineeringの違和感
kintotechdev
4
560
未経験者・初心者に贈る!40分でわかるAndroidアプリ開発の今と大事なポイント
operando
5
410
CDK CLIで使ってたあの機能、CDK Toolkit Libraryではどうやるの?
smt7174
4
150
開発者を支える Internal Developer Portal のイマとコレカラ / To-day and To-morrow of Internal Developer Portals: Supporting Developers
aoto
PRO
1
460
なぜテストマネージャの視点が 必要なのか? 〜 一歩先へ進むために 〜
moritamasami
0
220
生成AI時代のデータ基盤設計〜ペースレイヤリングで実現する高速開発と持続性〜 / Levtech Meetup_Session_2
sansan_randd
1
150
【初心者向け】ローカルLLMの色々な動かし方まとめ
aratako
7
3.4k
Aurora DSQLはサーバーレスアーキテクチャの常識を変えるのか
iwatatomoya
1
910
Featured
See All Featured
Making the Leap to Tech Lead
cromwellryan
135
9.5k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
The Cost Of JavaScript in 2023
addyosmani
53
8.9k
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.8k
How STYLIGHT went responsive
nonsquared
100
5.8k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
Building an army of robots
kneath
306
46k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
920
Six Lessons from altMBA
skipperchong
28
4k
It's Worth the Effort
3n
187
28k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.5k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
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