Blockrazor / blockrazor

Absolutely ALL information about EVERY blockchain project in a comparison tool that ANYONE can understand. Administered by @gazhayes
Mozilla Public License 2.0
47 stars 54 forks source link

problem: it's difficult for non-tech people to add translations #1994

Closed gsovereignty closed 5 years ago

gsovereignty commented 5 years ago

problem: it's difficult for non-tech people to add translations

solution: no idea, anyone have any ideas? Maybe a quick form or something that generates a translation file?

dilpreetsio commented 5 years ago

@gazhayes We should add a page with a form to generate translation files seems a good idea. We can list all the text required to be translated & generate a file. This will enable anyone to add translation easily.

anbud commented 5 years ago

We used to use CrowdIn in one of the places I've previously worked, but it was free then, now it only has paid plans. It's a great solution, but I don't think it's worth the money.

Adding forms to generate translations is the easiest solution here, I've tried it a couple of times few years ago, non-tech people had no problems filling out the forms, while json can be tricky.

anbud commented 5 years ago

@emurgobot claim

gsovereignty commented 5 years ago

Can the forms be auto generated based on the existing files? otherwise every UI change requires manually adding new forms which then makes this more trouble than its worth to solve.

anbud commented 5 years ago

Of course, they can be autogenerated from existing json files and they'll update automatically on every change.

anbud commented 5 years ago

Done in #2019.

I'll have to try it out on production once it's merged, it may have issues with file paths.

@emurgobot done

anbud commented 5 years ago

@gazhayes, I've just tried it on production, it's not loading data. Is process.env.PWD defined when the server is deployed? I'm using that variable to find the root of the project, it's the only variable that actually works in this situation.

__dirname doesn't want to cooperate and absolute paths aren't working either.

anbud commented 5 years ago

@emurgobot claim

@emurgobot remove "done"

anbud commented 5 years ago

Done in #2025.

@emurgobot done