I have “index.htm” in English. Now I wan link on “index_it.htm” in Italian. Is there a way to make it with JavaScript to get document name (index) and just put “_it” between the name and extension?
Something like: document.open("<a href=" + “current_name” + “_it” + “.htm”…