As an example, how could I render an AlloyUI scheduler which has the days in Japanese rather than English?
相关问题
- how to change YUI3 tab using javascript
- can't change body background color using CSS r
- How to delay the onLoad event which gets fired on
- How to access the value of a radio button that is
- Pushing objects in an array only returns last obje
相关文章
- Translate the following jQuery code to YUI 2.x cod
- Rich Text (YUI) Editor Broken on IE11
- YUI 3 programmatically fire change event
- ASP.NET MVC HtmlHelper extensions for YUI controls
- BDD framework for the frontend?
- YUI Datatable: custom column definitions and data
- How to localize the alloyui scheduler component?
- Liferay portlet: redirect to an other jsp page fro
To access a localized version of a YUI 3 component you must use the YUI config object's
lang
property. When specifying a YUI sandbox, pass it the language code(s) which you want the component(s) to be localized for:Here is a specific example with the AlloyUI scheduler:
You may also need to internationalize the
strings
attribute of your components yourself. For example, theScheduler
has many strings that are not internationalized by changing theYUI
lang
attribute. If you want to fully internationalize it, you'll need to translate each string.For more information see the YUI Internationalization documentation (specifically the Requesting Preferred Languages section).