Skip to content
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

[Accessibility] Localization Issue in Search Form Component #4980

Open
kivuvarosekivuvan opened this issue Jul 24, 2024 · 1 comment
Open

Comments

@kivuvarosekivuvan
Copy link

kivuvarosekivuvan commented Jul 24, 2024

Summary

Describe the bug

The strings in the search-form component are not localized. Specifically, the strings "Filters and sorting" and "No saved filters. Saved filter(s) will appear here for you to select once made available." are not being translated or provided through a localization mechanism.

To Reproduce

  1. Navigate to the web-mzima-client/src/app/shared/components/search-form/search-form.component.html file.
  2. Observe the following code on line 240 and 325 respectively:
240: <h3>Filters and sorting</h3>
325: <span class="no-saved-filters" postfix *ngIf="savedSearches?.length === 0">
  No saved filters. Saved filter(s) will appear here for you to select once made available.
</span>

Expected behavior

The strings in the search-form component should be localized and provided through a translation or localization mechanism, allowing the application to support multiple languages.

How to solve

To solve this issue, we will:

  1. Identify all the strings in the search-form component that need to be localized.

  2. Ensure that the localization mechanism is properly set up and configured in the application to handle the localization of the search-form component.

Screenshots

Screenshot 2024-07-24 at 09 20 10 Screenshot 2024-07-24 at 09 20 34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants