File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -714,6 +714,20 @@ to refer to the corresponding capturing group.
714714If you load `hello.html` you'll automatically run some self-tests on
715715the default preprocessor.
716716
717+ # # Internationalization
718+
719+ Currently the expectation is that translated labs will start with existing
720+ labs (as HTML) and translate their text.
721+ Our current recommendation is to prefix all labs' names with their locale
722+ (e.g., `jp-input.html`).
723+
724+ Make sure the buttons have a `title` value, otherwise they will default to
725+ their English titles.
726+
727+ In the future we may pull the data into their own files so they can
728+ be shared between natural language translations. In those cases, the
729+ translated text would be marked with their own locale.
730+
717731# # Potential future directions
718732
719733Below are notes about potential future directions.
You can’t perform that action at this time.
0 commit comments