OLD | NEW |
| (Empty) |
1 --- | |
2 layout: default | |
3 title: A Polymer Component with Localized Messages | |
4 live_example_url: example/polymer_intl.html | |
5 header: | |
6 css: ["/samples/samples.css"] | |
7 --- | |
8 | |
9 ## {{ page.title }} | |
10 | |
11 A simple demonstration of internationalization/localization | |
12 with Polymer components. The demo defines a Polymer component that lets you | |
13 choose from a selection of locales and displays a message translated | |
14 for the selected locale. | |
15 | |
16 The component is defined in `localized.html` and `localized.dart`, and the | |
17 main entry point is `polymer_intl.html`. | |
18 | |
19 Read the | |
20 [source](https://github.com/dart-lang/sample-polymer-intl). | |
21 | |
22 <iframe class="running-app-frame" | |
23 style="height:400px;width:100%;" | |
24 src="{{page.live_example_url}}"> | |
25 </iframe> | |
26 | |
27 See all [samples](/samples/). | |
OLD | NEW |