when I change language ,it does not work, if this source should be added languageChange method? #31410
Replies: 6 comments 1 reply
-
I found a similar unsolved discussion titled "why I can not change my language??" which might be related to the issue you're experiencing [1]. Regarding your question about the You might want to check if the component is correctly integrated with the rest of the application to ensure that language changes are properly handled. Additionally, verifying if there are any Redux actions or context providers managing the application's current language state could be helpful, although I couldn't find specific details on that in the available data. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
@dosu It seems that this source does not work.
}); // A set of hacks to allow apps to run within a FAB template // set up app wide custom error messages |
Beta Was this translation helpful? Give feedback.
-
The If the language change is not working, consider checking the following:
If these aspects are correctly set up and the issue persists, there might be other parts of the application affecting the language change functionality. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
export default function LanguagePicker(props: LanguagePickerProps) { <StyledFlag className={ flag ${languages[locale].flag} } />} icon={<Icons.TriangleDown />} {...rest} > {Object.keys(languages).map(langKey => ( <Menu.Item key={langKey} style={{ whiteSpace: 'normal', height: 'auto' }} > <i className={ flag ${languages[langKey].flag} } />{languages[langKey].name} </Menu.Item> ))} ); } export default function setupApp() {
}); 触发不了$('#language-picker a').click(function ( 这个函数 怎么回事 |
Beta Was this translation helpful? Give feedback.
-
The issue with the
By addressing these points, you should be able to resolve the issue with the click event handler not being triggered. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
Converting this to a Q&A thread, since it doesn't seem to be a bug report, and almost seems closer to a PR. |
Beta Was this translation helpful? Give feedback.
-
Bug description
Screenshots/recordings
No response
Superset version
master / latest-dev
Python version
3.10
Node version
18 or greater
Browser
Chrome
Additional context
No response
Checklist
Beta Was this translation helpful? Give feedback.
All reactions