Chromium Code Reviews| Index: src/site/samples/polymer_intl/index.markdown |
| diff --git a/src/site/samples/polymer_intl/index.markdown b/src/site/samples/polymer_intl/index.markdown |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..a6e0f6495bd7479cb31944660e095663662a60d4 |
| --- /dev/null |
| +++ b/src/site/samples/polymer_intl/index.markdown |
| @@ -0,0 +1,27 @@ |
| +--- |
| +layout: default |
| +title: A Polymer component with localized messages |
|
Kathy Walrath
2014/01/24 17:48:25
Use Title Caps here. (You could shorten the title,
shailentuli
2014/01/27 17:07:15
Done.
|
| +live_example_url: example/polymer_intl.html |
| +header: |
| + css: ["/samples/samples.css"] |
| +--- |
| + |
| +## {{ page.title }} |
| + |
| +A simple demonstration of internationalization/localization |
| +with Polymer components. The demo defines a Polymer component that lets you |
| +choose from a selection of locales and displays a message translated |
| +for the selected locale. |
| + |
| +The component is defined in `localized.html` and `localized.dart`, and the |
| +main entry point is `polymer_intl.html`. |
| + |
| +Read the |
| +[source](https://code.google.com/p/dart/source/browse/branches/bleeding_edge/dart/samples/polymer_intl). |
| + |
| +<iframe class="running-app-frame" |
| + style="height:400px;width:100%;" |
| + src="{{page.live_example_url}}"> |
| +</iframe> |
| + |
| +See all [samples](/samples/). |