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

Migrate Hardcoded Strings to i18n for Localization Support - For Maintenance, NotFound, PageSpeed, Settings, StatusPage, Uptime Directories #1875

Open
Cihatata opened this issue Mar 5, 2025 · 2 comments
Labels
good first issue Good for newcomers
Milestone

Comments

@Cihatata
Copy link
Contributor

Cihatata commented Mar 5, 2025

Currently, some text strings in the project are hardcoded (e.g., <div>Add</div>). To improve localization support, these strings should be replaced using the useTranslation hook from i18n.

Tasks:

  • Identify and replace all hardcoded text strings with t('key').
  • Add the corresponding translation keys to the gb.json file.
  • Ensure that all affected components display the correct translated text.
  • Contact @gorkem to add the new keys to POEditor.

Example:

Before:

<div>Add</div>
const { t } = useTranslation();
<div>{t('add')}</div>

gb.json

{
   "add": "Add",
}

This update will make the project more scalable for multiple languages.

SCOPE: Maintenance, NotFound, PageSpeed, Settings, StatusPage, Uptime Directories

@gorkem-bwl gorkem-bwl added the good first issue Good for newcomers label Mar 5, 2025
@gorkem-bwl gorkem-bwl added this to the 2.1 milestone Mar 5, 2025
@renatoka
Copy link

renatoka commented Mar 8, 2025

@gorkem-bwl Did someone take this? If not, I will.

@gorkem-bwl
Copy link
Contributor

@renatoka currently @Br0wnHammer is working on this but thanks for your interest!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants