|
Managing Components |
|
The Components page lists all the components that are available in your account, including both system components and any custom components you have created. You have the following options from this page:
| • | Create a custom component |
| • | Customize a system component (which creates a custom component, based on the system component) |
| • | Add a blogroll component |
| • | Edit a blogroll component |
To create a custom component:
| 1. | Click the Components link, under the Component Profiles tab. |
| 2. | Click the Create new component link on the Components page. |
| 3. | Enter a Title, select your Options, and enter the Content for the new component. |
| 4. | Click the Add Component button at the bottom of the page. Your new component is added to the Custom Components list. |
Once you create a custom component, you can continue the customization in your own language either by:
| • | Manually replacing the English word or phrase with translated text in the template. |
- or -
| • | Using the gettext function in the custom component. See below. |
To customize the language of components using the gettext function:
When you use the gettext function, you allow the user's language preference to determine the language in which the blog is displayed. To check which languages and words are available, refer to the translation dictionaries at http://blog.blogware.com.
Note: Only words included in the translation dictionary will be translated.
| 1. | Click the Edit link beside the component title in the Custom Components list. The Edit Component page opens. |
| 2. | Type the term to display in translation in the Content textbox using the following format <%=gettext("candidate word")%> where "candidate word" is the word or phrase that you want to display in translation. |
The gettext function only finds exact matches to terms (words or phrases) that appear in the translation dictionary for the language specified.
| 3. | Click the Save Changes button at the bottom of the page. |
The translated candidate word or phrase will be retrieved from the translation dictionary. It is necessary to use the exact spelling for terms used in the translation dictionary. To check the words and phrases that are available for use with the gettext function, refer to the translation dictionary that is published online at http://blog.blogware.com.
To customize a system component:
| 1. | Click the Components link, under the Component Profiles tab. |
| 2. | Click the Customize link for the system component you want to modify. |
| 3. | Enter a new Title for the component. |
| 4. | Modify the Options and/or Content of the component. |
| 5. | Click the Add Component button at the bottom of the page. |
To modify a component: click the Component Profiles tab, then click Edit link beside the profile.