dasher-project / dasher

Dasher
http://www.inference.phy.cam.ac.uk/dasher/
GNU General Public License v2.0
159 stars 45 forks source link

Add langcodes to all remaining alphabets with valid a langcode #79

Closed dbarnett closed 8 years ago

dbarnett commented 8 years ago

Fixes #63.

dbarnett commented 8 years ago

For anyone curious about how I handled this, I dumped the existing filenames into a text file, added langcode for each on the same line, then wrote a vim macro to crank through each line and updating the corresponding file, using http://mattn.github.io/emmet-vim/ to update the XML attributes consistently.

I can also check in my text file of langcode mappings if it helps other maintainers in the future. (Is there a good path to drop it at?). I intended to write a nice script using xmlstar or something similar to manipulate the XML, but blocking on that is a big part of what made it take so long for me to get around to it in the first place… =)

ipomoena commented 8 years ago

I was wondering, how did you manage that without being killed by boredom or RSI. Can you check in your mapping to alphabet directory?

:-) Ada

On Sat, Jan 23, 2016 at 4:37 PM, David Barnett notifications@github.com wrote:

For anyone curious about how I handled this, I dumped the existing filenames into a text file, added langcode for each on the same line, then wrote a vim macro to crank through each line and updating the corresponding file, using http://mattn.github.io/emmet-vim/ to update the XML attributes consistently.

I can also check in my text file of langcode mappings if it helps other maintainers in the future. (Is there a good path to drop it at?). I intended to write a nice script using xmlstar or something similar to manipulate the XML, but blocking on that is a big part of what made it take so long for me to get around to it in the first place… =)

— Reply to this email directly or view it on GitHub https://github.com/ipomoena/dasher/pull/79#issuecomment-174238722.