Labs/Ubiquity/Parser 2/Localization Tutorial: Difference between revisions

Jump to navigation Jump to search
Line 126: Line 126:
== Test your parser ==
== Test your parser ==


Now you can go into the [chrome://ubiquity/content/settings.html Ubiquity settings] page and choose your language under the "language settings" section and restart. All the verbs and nountypes at this point will remain the same as in the English version, but it should obey the argument structure (the word order and delimiters) of your language.
Now you can go into the Ubiquity settings page (<code>chrome://ubiquity/content/settings.html</code>) and choose your language under the "language settings" section and restart. All the verbs and nountypes at this point will remain the same as in the English version, but it should obey the argument structure (the word order and delimiters) of your language.


[[Image:Ubiquity_Parser_2_Playpen.png]]
[[Image:Ubiquity_Parser_2_Playpen.png]]


You can also test your parser in the [chrome://ubiquity/content/playpen.html Parser 2 Playpen] at <code>chrome://ubiquity/content/playpen.html</code>. There's a video explaining [http://vimeo.com/5013787 how you can use the Parser Playpen].
You can also test your parser in the Parser 2 Playpen at <code>chrome://ubiquity/content/playpen.html</code>. There's a video explaining [http://vimeo.com/5013787 how you can use the Parser Playpen].


== Conclusion ==
== Conclusion ==
308

edits

Navigation menu