rewriting code isn't as bad as some would claim. Because the logic of the code has already been set, a rewrite of the app in another language should take no more than 2 weeks. This is esp. true if your app uses an MVC framework where the view template is separated from the logic.