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

Localisation #26

Open
tadhglewis opened this issue Nov 5, 2020 · 2 comments
Open

Localisation #26

tadhglewis opened this issue Nov 5, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@tadhglewis
Copy link
Owner

add messages to a localisation file so they can easily be translated

@ricardomaia
Copy link

ricardomaia commented Nov 6, 2020

Hi Tadhg! First all, I would like to say thank you for this project. It was an inspiration for my own work.
Localization is one of issues that impulse to make a sort of "fork" from "issue-status".

In my project I implement support to localisation because I need this in my company. I'm military brazilian firefighter and the status page of my government corporation must be in portuguese.

Fell free to see my implementation at https://github.com/ricardomaia/statuspage.

Basically I create two functions and one json file:

@tadhglewis
Copy link
Owner Author

tadhglewis commented Nov 9, 2020

@ricardomaia hi, great to hear i was able to help and inspire someone else.

my initial thoughts on localisation was most browsers translate web pages anyway so it wasn't really needed however i have changed my mind on this.

i was actually thinking of doing a similar thing to what you've done with the idea being all translations can be added to the main issue-status repo and available to anyone who forks/uses it, then on the status page itself have an optional (can hide with .env) language option/dropdown for users to select their langauge as well as a default language in the .env file.

not sure when i'll get round to adding this due to work but it's definitely something i am interested in doing.

Let me know if you had any questions

@tadhglewis tadhglewis added the enhancement New feature or request label Nov 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants