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

Side by Side Diff: samples/polymer_intl/README.md

Issue 105073003: Adds a sample for polymer internationalization/localization (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Changes from review Created 7 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | samples/polymer_intl/build.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 ## A polymer component with localized messages
2
3 A simple demonstration of internationalization/localization
4 with Polymer components. It defines a Polymer component that lets you
5 choose from a selection of locales and displays a message translated
6 for the selected locale.
7
8 The component is defined in localized.html and localized.dart, and the
9 main entry point is polymer_intl.html
10
11 ### Files
12
13 * `pubspec.yaml`: the Pub dependencies for this application.
14
15 * `build.dart`: creates the deployed Polymer application.
16
17 * `web/polymer_intl.html`: the main application file. This imports and
18 uses the `<localized-example>` custom element.
19
20 * `web/polymer_intl.css`: Styles for the application.
21
22 * `web/localized.html`, `web/localized.dart`: Defines the
23 `<localized-example>` custom element.
24
25 * `intl_messages.json`, `translation_fr.json`, and `translation_pt.json`:
26 Data files used in the translation process.
27
28 * `messages_all.dart`, `messages_fr.dart`, and `messages_pt.dart`:
29 Generated code defining Dart libraries with the translated messages.
OLDNEW
« no previous file with comments | « no previous file | samples/polymer_intl/build.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698