-
-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong url - Translation in Fallback Type: free #2526
Comments
Hi, |
I am not sure if this is really a news issue but a core issue? |
@georgringer I agree! It is a core behaviour concerning any data type and currently the only workaround I could find is to configure a fallback language even though the language mode is "free" and not "fallback" |
has this been reported as a core bug? are there any news on this? |
We are experiencing this as well. So there's no core bug report yet? Maybe this has been discussed in TYPO3 slack? |
|
Bug Report
Current Behavior
I have a site with multiple languages (EN as default, FR as secondary), when I translate a news item, the slug for my news item contains the path_segment EN ex:
EN: /newspress/detail-view/test-en
FR: /fr/actualites/vue-detaillee/test-en instead of /fr/actualites/vue-detaillee/test-fr
If I don't configure a fallback language (which is what I need on my site), I can't access the detailed view of my FR news (by going through the language menu from the EN detailed view or the FR list view) I get a 404.
If I add a fallback to the EN language still in free mode, then the detailed view works with the url /fr/actualites/vue-detaillee/test-en
My url rewriting is configured like this:
routeEnhancers:
News:
type: Extbase
limitToPages:
- 91
extension: News
plugin: Pi1
routes:
-
routePath: '/{news-title}'
_controller: 'News::detail'
_arguments:
news-title: news
defaultController: 'News::list'
defaults:
page: '0'
aspects:
news-title:
type: PersistedAliasMapper
tableName: tx_news_domain_model_news
routeFieldName: path_segment
And my language menu is generated by the LanguageMenuProcessor
Thanks in advance,
Zoïa
Environment
The text was updated successfully, but these errors were encountered: