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.8k
MvvmCross - Presentation to BCS Edinburgh
cirrious
0
160
MobDevCon MvvmCross Workshop
cirrious
0
3.3k
Static Version of MvvmCross Evolve talk
cirrious
0
110
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
【若手エンジニア応援LT会】ソフトウェアを学んできた私がインフラエンジニアを目指した理由
kazushi_ohata
0
150
【令和最新版】AWS Direct Connectと愉快なGWたちのおさらい
minorun365
PRO
5
750
ISUCONに強くなるかもしれない日々の過ごしかた/Findy ISUCON 2024-11-14
fujiwara3
8
870
TypeScript、上達の瞬間
sadnessojisan
46
13k
スクラム成熟度セルフチェックツールを作って得た学びとその活用法
coincheck_recruit
1
140
AIチャットボット開発への生成AI活用
ryomrt
0
170
Terraform Stacks入門 #HashiTalks
msato
0
350
OCI 運用監視サービス 概要
oracle4engineer
PRO
0
4.8k
New Relicを活用したSREの最初のステップ / NRUG OKINAWA VOL.3
isaoshimizu
2
590
ドメイン名の終活について - JPAAWG 7th -
mikit
33
20k
SSMRunbook作成の勘所_20241120
koichiotomo
2
130
ノーコードデータ分析ツールで体験する時系列データ分析超入門
negi111111
0
410
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
Making Projects Easy
brettharned
115
5.9k
Building Your Own Lightsaber
phodgson
103
6.1k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
44
2.2k
A Philosophy of Restraint
colly
203
16k
Speed Design
sergeychernyshev
24
610
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
840
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
506
140k
Designing for humans not robots
tammielis
250
25k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.3k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.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