{"action":"created","issue":{"url":"https://api.github.com/repos/samikeijonen/toivo-lite/issues/4","labels_url":"https://api.github.com/repos/samikeijonen/toivo-lite/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/samikeijonen/toivo-lite/issues/4/comments","events_url":"https://api.github.com/repos/samikeijonen/toivo-lite/issues/4/events","html_url":"https://github.com/samikeijonen/toivo-lite/issues/4","id":87666423,"number":4,"title":"Issue translating \"Read more %s\"","user":{"login":"samikeijonen","id":1820415,"avatar_url":"https://avatars.githubusercontent.com/u/1820415?v=3","gravatar_id":"","url":"https://api.github.com/users/samikeijonen","html_url":"https://github.com/samikeijonen","followers_url":"https://api.github.com/users/samikeijonen/followers","following_url":"https://api.github.com/users/samikeijonen/following{/other_user}","gists_url":"https://api.github.com/users/samikeijonen/gists{/gist_id}","starred_url":"https://api.github.com/users/samikeijonen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samikeijonen/subscriptions","organizations_url":"https://api.github.com/users/samikeijonen/orgs","repos_url":"https://api.github.com/users/samikeijonen/repos","events_url":"https://api.github.com/users/samikeijonen/events{/privacy}","received_events_url":"https://api.github.com/users/samikeijonen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-12T09:13:42Z","updated_at":"2015-06-12T14:59:57Z","closed_at":null,"body":"This is how we're use to have `the_content` function for better accessibility. We add Post title after Continue reading or Read more. \r\n```\r\n/* translators: %s: Name of current post */\r\nthe_content( sprintf(\r\n\t__( 'Continue reading %s', 'twentyfifteen' ),\r\n\tthe_title( '<span class=\"screen-reader-text\">', '</span>', false )\r\n) );\r\n\r\n/* translators: %s: Name of current post */\r\nthe_content( sprintf(\r\n\t__( 'Read more %s', 'toivo-lite' ),\r\n\tthe_title( '<span class=\"screen-reader-text\">', '</span>', false )\r\n) );\r\n```\r\n\r\nThis is the [recommended method](https://github.com/wpaccessibility/a11ythemepatterns/blob/master/read-more-links/content.php).\r\n\r\nBut @fxbenard noticed interesting issue when translating `Read more %s`. In French the translation should be like this: `Lire la suite de %s`\r\n\r\nBut it then outputs this markup:\r\n```\r\n<a href=\"#\" class=\"more-link\">Lire la suite de <span class=\"screen-reader-text\">Post Title</span></a>\r\n```\r\nInstead it should be this:\r\n```\r\n<a href=\"#\" class=\"more-link\">Lire la suite <span class=\"screen-reader-text\">de Post Title</span></a>\r\n```\r\n\r\nDo we have any other choices than adding html markup in the string like this:\r\n\r\n```\r\n/* translators: %s: Name of current post */\r\nthe_content( sprintf(\r\n\t__( 'Read more <span class=\"screen-reader-text\">%s</span>', 'toivo-lite' ),\r\n\tthe_title( '', '', false )\r\n) );\r\n````"},"comment":{"url":"https://api.github.com/repos/samikeijonen/toivo-lite/issues/comments/111519055","html_url":"https://github.com/samikeijonen/toivo-lite/issues/4#issuecomment-111519055","issue_url":"https://api.github.com/repos/samikeijonen/toivo-lite/issues/4","id":111519055,"user":{"login":"Otto42","id":889736,"avatar_url":"https://avatars.githubusercontent.com/u/889736?v=3","gravatar_id":"","url":"https://api.github.com/users/Otto42","html_url":"https://github.com/Otto42","followers_url":"https://api.github.com/users/Otto42/followers","following_url":"https://api.github.com/users/Otto42/following{/other_user}","gists_url":"https://api.github.com/users/Otto42/gists{/gist_id}","starred_url":"https://api.github.com/users/Otto42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Otto42/subscriptions","organizations_url":"https://api.github.com/users/Otto42/orgs","repos_url":"https://api.github.com/users/Otto42/repos","events_url":"https://api.github.com/users/Otto42/events{/privacy}","received_events_url":"https://api.github.com/users/Otto42/received_events","type":"User","site_admin":false},"created_at":"2015-06-12T14:59:57Z","updated_at":"2015-06-12T14:59:57Z","body":"But, \"Lire la suite de Postname\" is fine, right?\r\n\r\nI just don't understand why the \"de\" needs to be in that span. Is this a screen reader thing?"}}