Relative linking to dynamically created pages within the localizable folder

Inside the localizable folder I have a page inside a sub folder ( localizable/subfolder/index.html.erb ) that is trying to access another page that is dynamically created which sits inside "/#{lang}/ss/dynamic_page.html". The template for this page is located here: \localizable\ss\dynamic_template.html.erb.

How can I link to the dynamically created page from within localizable/subfolder/index.html.erb ?

I have tired using url_for and link_to with no luck.

Ok looks like I have to manually set :relative to true regardless of setting it in the config.rb. The below works:

url_for "/#{I18n.locale.to_s}/ss/dynamic_page.html", :relative => true