I asked the same question in the English version but I did not succeed!
I have an application that will be translated into three languages pt / en / es. So far I'm going to use GlobalResources, I have no problems with this, but I'm having a lot of trouble trying to write a url that looks like this:
Eu tenho isso => http://www.teste.com.br/algumacoisa
Mas preciso disso => http://www.teste.com.br/pt/algumacoisa
I know it sounds simple, but I could not work with this url. I can even put everything I tried here, but I do not know if it will help, if you need to send me the comments that change the issue.
ps: urls are in the app's web.config. And I'm in Web Forms
UPDATE 1
<rewrite>
<rules>
<!-- Produtos -->
<rule name="produtos">
<match url="^produtos/([0-9]+)/([a-zA-Z0-9_-]+)/?$" ignoreCase="true"/>
<action type="Rewrite" url="/produtos/Detail.aspx?id={R:1}" appendQueryString="false"/>
</rule>
<!-- /Produtos -->
</rules>
</rewrite>