How To Inherit And Change Url For Cbuttoncolumn

Recently i have added in my url manager the language variable , so all my urls are now working with two alphabet character of language e.g. en, it, de , fr etc like below


Now each place of the link creation i have to add lang parameter explicitly …everything works fine but to change the delete / view and update urls of CGrridView I have to do so many changes since there are so many views which are using CGridView …changing each of their CButtonColum’s URL property individually for each template is very time taking… I was wondering what if we inherit a new class from CButtonColoumn and create the url inside or change the url inside… If anyone has done this before then kindly share some tips …i will really appreciate that…