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

[Frontend]: Add Text Localization To All The Pages #86

Open
Mayank0255 opened this issue Jul 1, 2022 · 3 comments
Open

[Frontend]: Add Text Localization To All The Pages #86

Mayank0255 opened this issue Jul 1, 2022 · 3 comments
Labels
enhancement Improvement in an existing feature or expanding a feature feature New feature hacktoberfest

Comments

@Mayank0255
Copy link
Owner

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@Mayank0255 Mayank0255 added enhancement Improvement in an existing feature or expanding a feature feature New feature labels Jul 1, 2022
@Mayank0255 Mayank0255 added this to To do in Stackoverflow-Clone Jul 1, 2022
@growupanand
Copy link

@Mayank0255

Do you have any plan how it should be done?

@Mayank0255
Copy link
Owner Author

@Mayank0255

Do you have any plan how it should be done?

While inserting to db, the language should be english, so that in our db we have data in one language. Then, while fetching the data, it should be localized based on the users location (if possible, otherwise by default english is fine). Then give them a dropdown inside the profile section to change the language.

Two ways,

  1. We will keep the language preference in our db, then while returning the response of the APIs, we will convert. This will though induce some added time to the response time.
  2. We keep the language preference, then on frontend we convert the text through some library.

@growupanand
Copy link

@Mayank0255
Do you have any plan how it should be done?

While inserting to db, the language should be english, so that in our db we have data in one language. Then, while fetching the data, it should be localized based on the users location (if possible, otherwise by default english is fine). Then give them a dropdown inside the profile section to change the language.

Two ways,

  1. We will keep the language preference in our db, then while returning the response of the APIs, we will convert. This will though induce some added time to the response time.
  2. We keep the language preference, then on frontend we convert the text through some library.

This looks like you want localization to all user data also or can you clear if you want to localize the frontend UI only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement in an existing feature or expanding a feature feature New feature hacktoberfest
Projects
Development

No branches or pull requests

2 participants