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.2k
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
200
Data Bind Everything
cirrious
0
4.9k
MvvmCross - Presentation to BCS Edinburgh
cirrious
0
170
MobDevCon MvvmCross Workshop
cirrious
0
3.3k
Static Version of MvvmCross Evolve talk
cirrious
0
120
Jago?
cirrious
0
150
Presenters in MvvmCross
cirrious
1
32k
Saying SOLID with PCL
cirrious
0
3.4k
Using SQLite.Net In MvvmCross
cirrious
0
1.1k
Other Decks in Technology
See All in Technology
Copilotの力を実感!3ヶ月間の生成AI研修の試行錯誤&成功事例をご紹介。果たして得たものとは・・?
ktc_shiori
0
310
いま現場PMのあなたが、 経営と向き合うPMになるために 必要なこと、腹をくくること
hiro93n
9
6.7k
アジャイルチームが変化し続けるための組織文化とマネジメント・アプローチ / Agile management that enables ever-changing teams
kakehashi
3
3.2k
0→1事業こそPMは営業すべし / pmconf #落選お披露目 / PM should do sales in zero to one
roki_n_
PRO
1
700
CDKのコードレビューを楽にするパッケージcdk-mentorを作ってみた/cdk-mentor
tomoki10
0
180
WantedlyでのKotlin Multiplatformの導入と課題 / Kotlin Multiplatform Implementation and Challenges at Wantedly
kubode
0
240
KMP with Crashlytics
sansantech
PRO
0
220
Amazon Q Developerで.NET Frameworkプロジェクトをモダナイズしてみた
kenichirokimura
1
190
テストを書かないためのテスト/ Tests for not writing tests
sinsoku
1
170
Cloudflareで実現する AIエージェント ワークフロー基盤
kmd09
0
270
今から、 今だからこそ始める Terraform で Azure 管理 / Managing Azure with Terraform: The Perfect Time to Start
nnstt1
0
120
AWS re:Invent 2024 re:Cap Taipei (for Developer): New Launches that facilitate Developer Workflow and Continuous Innovation
dwchiang
0
140
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
274
40k
A better future with KSS
kneath
238
17k
For a Future-Friendly Web
brad_frost
176
9.5k
The Cost Of JavaScript in 2023
addyosmani
46
7.2k
Designing Experiences People Love
moore
139
23k
The Pragmatic Product Professional
lauravandoore
32
6.4k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
3
350
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
7k
Testing 201, or: Great Expectations
jmmastey
41
7.2k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
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