Mark,
Thanks for sharing - much appreciated, and I'll be exploring this further. One thing to watch out for is where the word being replaced across the entire language pack may have multiple meanings. For example, in the Grade Centre, you can choose MANAGE >> COLUMN ORGANISATION. You don't want to change that to MANAGE >> COLUMN COMMUNITY. For the most part, there's very little risk, but it's just something to keep an eye out for. We tripped up on this particular inadvertent word replacement, which is why it springs to mind immediately.
All the best,
Trav.
________________________________________
From: Blackboard/Courseinfo userslist [[log in to unmask]] on behalf of Mark Gamble [[log in to unmask]]
Sent: Friday, 23 September 2011 12:19 AM
To: [log in to unmask]
Subject: Large Scale Language Pack change on Bb 9.1
Dear Colleagues
You may recall I asked whether it was possible to change a term across the entire language pack? We wanted to change 'course ' to 'unit' and 'organisation' to 'community' together with plural and capitalised variants. One of my team, Nick Collis, took himself away to a darkened broom cupboard for a while and has produced this process - which works. Feel free to have a go if you want to do a similar change.
1.) Go to System Admin > Language packs
2.) Download the Language Pack you wish to change by clicking on the chevrons next to it then Export
3.) Download the zip file and extract the contents into a directory on your desktop
4.) For the next stages you will need a text editor that can batch replace all occurrences of words in a directory and support .NET regular expressions. We used EditPadPro.
5.) Making sure the regular expression option in Find/Replace is turned on, search for the word(s) you want to replace with the prefix (?<==.*) eg:
(?<==.*)(?<!@)course
or
(?<==.*)(?<!@)organisation
this will make sure the replacement only operates on words that appear to the right of the equals sign, and never replace words that are variables or keys.
6.) Make sure the options for 'case sensitive' replace and 'match whole words only' are selected.
7.) Run the batch replace command on the folder you extracted in step 3, making sure to select any options for including recursive directories
8.) Save all files
9.) Repeat steps 7-8 with all variants of capitalization and plurals eg 'course','courses','Course','Courses'
10.) Re-zip the file and folder you extracted in step 3
11.) Re-upload the zip by going to System Admin > Language Packs > Import
It would be wise, of course, to run this on a test environment first.
--
Regards
Mark
Mark Gamble, FHEA
Head of Learning Technology, Centre for Learning Excellence
University of Bedfordshire, Park Square, Luton, Beds, LU1 3JU
Tel (+44)1582 489260 Mob 07720 068605
Int ext 9260 / 6360 (mobex)
|