| 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..896c6673447da4ebe6a75314937323cabfc412e3
|
| --- /dev/null
|
| +++ b/src/site/samples/polymer_intl/index.markdown
|
| @@ -0,0 +1,27 @@
|
| +---
|
| +layout: default
|
| +title: A Polymer Component with Localized Messages
|
| +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/).
|
|
|