Automatically set category and layout from the translate.rb plugin