Translator has limited opportunities for extension
Created originally on Bitbucket by Nigglefish (Nigel Fisher)
Translator has several static and class methods that make it difficult to extend.
My use case is that I am attempting to implement the type of formula translation that occurs when you delete or insert a row in Excel (LibreOffice, actually). The formula should be translated as usual unless it refers to a cell before the deleted columns/rows, in which case it is left unchanged.
I would like to simply override translate_col and translate_row to use instance attributes that characterise this behaviour but the static and class methods here make that impractical.