You need to get rid of the space in `t (` for this to work - without that change I just get syntax errors from ruby.

That said, you should be using `link_to` here rather than constructing the link by hand like that. That's hard to do in the controller, but then I think this is better done by changing `result_to_html` in `app/helpers/geocoder_helper.rb` anyway, and `link_to` is readily available there, so you can do something like:

```
link_to(t("browse.#{result[:type]}_history.view_details"), :controller => :browse, :action => result[:type], :id => result[:id])
```