Answered
include current page name in link address
is there a piece of code I can use to include the current
page name in a link to another folde rwhich contains and mirror
image of the site structure but in a different language?
something like this:
<a href="../english/current-page.php">
That way whenever someone clicks on the link they will go to the right (same-name) page in whichever language they want. If it's possible I can simply add this lineto the template that governs each language an dmy job is done. If it's not possible, I have a long slog ahead of me, typing in each one individually.
Can anyone help?
Cheers
Dave
something like this:
<a href="../english/current-page.php">
That way whenever someone clicks on the link they will go to the right (same-name) page in whichever language they want. If it's possible I can simply add this lineto the template that governs each language an dmy job is done. If it's not possible, I have a long slog ahead of me, typing in each one individually.
Can anyone help?
Cheers
Dave
