How to change/force certain language and landing page #424
-
I would like to know if there is any documentation on how to set certain filters to be enabled when user clicks on the link to the career portal url. For example, if the user is using the website from Central Canada, I would like the filters to be automatically enabled for jobs in Central Canada. The second question ties into this as well. Currently the site automatically chooses the locale for the site but I would like to allow users to choose the locale. Is there a way to alter the .json file or the jobOrder query such that it allow users to change the language to their needs? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
This would require reconfiguration of the Please let me know if you have any more questions. |
Beta Was this translation helpful? Give feedback.
This would require reconfiguration of the
SettingService
within the app, Currently, the app does not request location from the user, but can be modified to do so. Logic can be found for the locale choosing logic here https://github.com/bullhorn/career-portal/blob/master/src/app/services/settings/settings.service.ts. you can probably instead add a dropdown, save their choice to localStorage, then refresh the page and pull the preference from there.Please let me know if you have any more questions.