Skip to content

Enhance localization support and improve GraphQL client integration

Ahmed Reda requested to merge development into staging

This commit introduces several key updates to enhance the app's localization capabilities and improve the integration of the GraphQL client. Key changes include:

  • Added new localization strings for search results in both Arabic and English.
  • Implemented a displayName method across various entities (products, nurseries, schools) to return names based on the current locale.
  • Updated the GraphQL client to manage language settings dynamically, ensuring that API requests reflect the user's selected language.
  • Refactored UI components to utilize the new displayName method for consistent name representation based on language preference.

These modifications aim to provide a more seamless user experience by ensuring that names and search results are displayed correctly according to the selected language.

Merge request reports

Loading