{"action":"created","issue":{"url":"https://api.github.com/repos/DeuxHuitHuit/frontend_localisation/issues/31","repository_url":"https://api.github.com/repos/DeuxHuitHuit/frontend_localisation","labels_url":"https://api.github.com/repos/DeuxHuitHuit/frontend_localisation/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/DeuxHuitHuit/frontend_localisation/issues/31/comments","events_url":"https://api.github.com/repos/DeuxHuitHuit/frontend_localisation/issues/31/events","html_url":"https://github.com/DeuxHuitHuit/frontend_localisation/issues/31","id":161682598,"number":31,"title":"Cannot get region or language to be recognized","user":{"login":"kirkstrobeck","id":241963,"avatar_url":"https://avatars.githubusercontent.com/u/241963?v=3","gravatar_id":"","url":"https://api.github.com/users/kirkstrobeck","html_url":"https://github.com/kirkstrobeck","followers_url":"https://api.github.com/users/kirkstrobeck/followers","following_url":"https://api.github.com/users/kirkstrobeck/following{/other_user}","gists_url":"https://api.github.com/users/kirkstrobeck/gists{/gist_id}","starred_url":"https://api.github.com/users/kirkstrobeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirkstrobeck/subscriptions","organizations_url":"https://api.github.com/users/kirkstrobeck/orgs","repos_url":"https://api.github.com/users/kirkstrobeck/repos","events_url":"https://api.github.com/users/kirkstrobeck/events{/privacy}","received_events_url":"https://api.github.com/users/kirkstrobeck/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2016-06-22T13:27:44Z","updated_at":"2016-07-09T22:21:50Z","closed_at":"2016-07-09T22:21:50Z","body":"We’re doing some multilingual, but can’t get frontend-localization https://github.com/DeuxHuitHuit/frontend_localisation to recognize the region\r\nhttps://github.com/klaftertief/language_redirect will recognize the region and lang, but will not set the language in <fl-language>\r\n\r\nAny tips on how to proceed?\r\n\r\n---\r\n\r\nHere is my multilingual stack\r\n\r\n- FLang detection gTLDs Select FLang detection gTLDs Extension  1.2.0 Enabled GitHub  Vlad Ghita\r\n- Frontend Localisation Select Frontend Localisation Extension  2.6.6 Enabled GitHub, Discuss Deux Huit Huit, Vlad Ghita\r\n- Frontend Localisation Redirection Select Frontend Localisation Redirection Extension  1.2.6 Enabled GitHub, Wiki, Issues  Deux Huit Huit\r\n- Languages Select Languages Extension  1.2.1 Enabled GitHub  Deux Huit Huit, Vlad Ghita\r\n\r\n`.htaccess` looks like \r\n\r\n    RewriteRule ^(en|fr|de|es)-?()?\\/(.*\\/?)$ index.php?fl-language=$1&fl-region=$2&symphony-page=$3&%{QUERY_STRING} [L]\r\n\r\n---\r\n\r\nWhen I visit `/fr-gb/?debug` it is added to `<p1>fr-gb</p1>` (which is the first page parameter), and `fl-languages` looks like\r\n\r\n```xml\r\n<fl-languages>\r\n        <current-language handle=\"en\" language=\"en\" region=\"\">English</current-language>\r\n        <supported-languages>\r\n            <item handle=\"en\" main=\"yes\">English</item>\r\n            <item handle=\"fr\">Français</item>\r\n            <item handle=\"de\">Deutsch</item>\r\n            <item handle=\"es\">Español</item>\r\n        </supported-languages>\r\n    </fl-languages>\r\n```\r\n\r\n---\r\n\r\nWhat I expect is that the first URL parameter is empty and that the language and region are detected and set in the XML. For example, the above shows a `fr` link, but Symphony is still sending along `en`."},"comment":{"url":"https://api.github.com/repos/DeuxHuitHuit/frontend_localisation/issues/comments/231559098","html_url":"https://github.com/DeuxHuitHuit/frontend_localisation/issues/31#issuecomment-231559098","issue_url":"https://api.github.com/repos/DeuxHuitHuit/frontend_localisation/issues/31","id":231559098,"user":{"login":"nitriques","id":771169,"avatar_url":"https://avatars.githubusercontent.com/u/771169?v=3","gravatar_id":"","url":"https://api.github.com/users/nitriques","html_url":"https://github.com/nitriques","followers_url":"https://api.github.com/users/nitriques/followers","following_url":"https://api.github.com/users/nitriques/following{/other_user}","gists_url":"https://api.github.com/users/nitriques/gists{/gist_id}","starred_url":"https://api.github.com/users/nitriques/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitriques/subscriptions","organizations_url":"https://api.github.com/users/nitriques/orgs","repos_url":"https://api.github.com/users/nitriques/repos","events_url":"https://api.github.com/users/nitriques/events{/privacy}","received_events_url":"https://api.github.com/users/nitriques/received_events","type":"User","site_admin":false},"created_at":"2016-07-09T22:21:50Z","updated_at":"2016-07-09T22:21:50Z","body":"This is fixed as part of https://github.com/DeuxHuitHuit/frontend_localisation/releases/tag/2.7.0.\r\n\r\nThanks again Kirk for you support on this."}}
{"actor":{"display_login":"nitriques"}}