Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(844)

Unified Diff: src/site/samples/polymer_intl/index.markdown

Issue 140303004: Added polymer internationalization sample (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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/).

Powered by Google App Engine
This is Rietveld 408576698