Ticket #49 (new defect)
URL should be adaptable
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | general | Version: | |
| Keywords: | Cc: |
Description
STEPS:
- Original string contains "<a href=" http://support.wordpress.com/contact/">contact Support</a>".
- Translated strings changes that to "<a href=" http://fr.support.wordpress.com/contact/">" (note starting "fr.")
RESULT:
- "Warning: Expected <a href=" http://support.wordpress.com/contact/">, got <a href=" http://fr.support.wordpress.com/contact/">."
Since some WPcom pages might be localized, it would be a good idea to let translators point to those instead of the English ones.
Change History
comment:1
nbachiyski — 2 years ago
comment:2
nbachiyski — 20 months ago
- Priority changed from major to normal
- Milestone set to Future Release
Note: See
TracTickets for help on using
tickets.

Do you have idea for a general approach?
We can parse strings and allow the hostname to include any variation of the current locale (fr, fr_FR, fr-fr). This wouldn't be a complete solution, but it will be a good start.
Another way is to separate the URLs in different strings, including only the URL.