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
180
MobDevCon MvvmCross Workshop
cirrious
0
3.4k
Static Version of MvvmCross Evolve talk
cirrious
0
140
Jago?
cirrious
0
170
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
PdM業務における使い分け
shinshiro
0
580
データ駆動経営の道しるべ:プロダクト開発指標の戦略的活用法
ham0215
2
230
少人数でも回る! DevinとPlaybookで支える運用改善
ishikawa_pro
1
150
Expertise as a Service via MCP
yodakeisuke
1
140
P2P ではじめる WebRTC のつまづきどころ
tnoho
1
210
Microsoft Fabric ガバナンス設計の一歩目を考える
ryomaru0825
1
260
SAE J1939シミュレーション環境構築
daikiokazaki
0
130
Recoil脱却の現状と挑戦
kirik
2
330
Webの技術とガジェットで那須の子ども達にワクワクを! / IoTLT_20250720
you
PRO
0
120
データエンジニアリング 4年前と変わったこと、 4年前と変わらないこと
tanakarian
2
350
増え続ける脆弱性に立ち向かう: 事前対策と優先度づけによる 持続可能な脆弱性管理 / Confronting the Rise of Vulnerabilities: Sustainable Management Through Proactive Measures and Prioritization
nttcom
1
140
会社もクラウドも違うけど 通じたコスト削減テクニック/Cost optimization strategies effective regardless of company or cloud provider
aeonpeople
2
160
Featured
See All Featured
Making Projects Easy
brettharned
116
6.3k
Git: the NoSQL Database
bkeepers
PRO
431
65k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.7k
Designing for humans not robots
tammielis
253
25k
Designing Experiences People Love
moore
142
24k
Art, The Web, and Tiny UX
lynnandtonic
301
21k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Agile that works and the tools we love
rasmusluckow
329
21k
Fireside Chat
paigeccino
37
3.5k
4 Signs Your Business is Dying
shpigford
184
22k
How to Think Like a Performance Engineer
csswizardry
25
1.8k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
21
1.3k
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