- Main Configuration Settings
- Content: Creating Stories, Blogs, Forums, Books, and Pages
- Blocks: Controlling Content in the Columns
- Comments: Adding to the Discussion
- Themes: Confinguring and Choosing Appearance
- Users: Configuring Site Access, Registration, and Posting
- Tracking and Statistics
- Specialized Modules and Features
- Buddylist: Creating a CivicSpace Friends List
- Contacts: Maintaining a Database of Users
- Drupal Module: Connecting with other Drupal Sites
- Events: Adding Things to the Calendar
- HtmlArea: Creating Content: With a WYSIWYG
- Localization: Customizing Hard-Coded Site Content
- Mass Mailer: Maintaining Mailing Lists
- News Aggregator: Syndicating Content from Websites
- Node_import: Importing Content
- Notify: Receiving Emails of New Site Content
- Privatemsg: Sending Messages Through An Internal Messaging System
- Profiles: Extending User Account Information
- RSVP: Reserving a Space
- Surveys: Giving An Opinion
- Trackback: Creating Links Between Weblog Posts
- Volunteer: Soliciting Assistance
- Enabling CivicSpace Automated Tasks: Configuring Cron Jobs
- Licensing & Acknowledgments
- CivicSpace Distribution Changes to Support Profiles
Localization: Customizing Hard-Coded Site Content
Submitted by admin on Sun, 2004-12-05 19:29.
The locale module is used to substitute text which is hard-coded within CivicSpace to create alternative language sets for a site.
Site designers can also use it to replace CivicSpace terminology with more site contexualized text. For instance, an administrator could customize the descriptions of the node types listed on the create content page. Or change the label for the links underneath nodes, such as replacing "add new comment" with "post your thoughts" or something similar.
To begin using the the locale module,
- First turn on the module and give the administrator permissions.
- Go to the localization section of the admin menu and add a language.
- Assuming English, create a custom language by adding "en-US" in the Language code text field.
- Give your language a name, such as "custom-English" (be sure not to use spaces in your language name), and add the language.
- This will return you to the main localization page. Set your new language, "custom-English" as enabled and as the default. Save the configuration. Then disable the original "English" language set (otherwise users will be given the option to choose between the two in their account area).
- Now, any time you visit a page with CivicSpace hard-coded content, it will be added into your language set database.
- Once you have visited a page that you wish to change the content, return to the manage strings area of the localization section. Enter in the string you wish to search for. Edit the result and enter your replacement text.
» printer-friendly version | login to post comments | 544 reads




