I have ever gave this idea on Gogs. Now I give it again.
I think we can develop a language editor UI on admin panel. It could simple, there are two columns, left is English, right is another, he can select one from the supported languages above right column.
Every line is a translate, left is english word, right is the special language. After finished the translation, he can save it. After that, he can go and look at the UI immediately. Of course, if he like, he can download the locale file and send a PR to gitea repo.
Sounds like reinventing the wheel to me. This is what specialized translation code does.
I really like the idea if the tool is kept simple, yet I still don't know if that should be port of gitea.
@lunny this Idea is good, but Gitea will lose standard among all installations, since the user will be able to customize your translations. With this, I think that will be more hard to we understand and solve possible issues about UI.
So we have to assign language tanslation maintainer for LGTM locale file PRs.
@lunny Then I think that's the way it's better.
Option to change translations, a big alert stating that the layout may break if you do not use the feature with care and a resource displaying when local translation isn't default from Gitea.
Whit this I think we can avoid possible issues as this
"Problem with right menu #114"
"
Guys, my menu is bigger and ugly, I'm opening this issue to solve this
"
@lunny ah, other problem, will be more easy to use translation on admin to XSS, because current translations have some html elements. A not a nice person can put similar to <script>getMy(document.cookie)</script>
as example. On specialized tools is more easy to translate and manager translations to avoid this problems.
Hi, I think that's great! Users should control the size of name themselves.
When ins't defined this question, isn't good idea at least change manually on files from Gogs
to Gitea
for first release?
My take on this is more related to backend than frontend.
Keep all translation-files in a separate repo (subtree for pulling into Gitea).
Pros:
Cons:
Feel free to pitch in on pros/cons for this, as this list is very biased and I can't really find any cons :confused:
Maybe we should also use a more mature format like gettext? :)
I remember @tboerger has sent a request to Weblate?
https://weblate.org/en/hosting/ @tboerger has you apply on this?
On Thu, Jan 05, 2017 at 07:06:02PM -0800, Lunny Xiao wrote:
https://weblate.org/en/hosting/ @tboerger has you apply on this?
I've made a request but never got an answer.
Never deployed it either so dunno how hard or easy it would be.
We could host weblate on our own server
Hi guys,
I can host on my servers too.
--
"O que quer que você faça na vida, será insignificante. Mas é muito
importante que você o faça... por que ninguém mais o fará." Gandhi
"Whatever you do will be insignificant, but it is very important that you
do it... because no one else will it." Gandhi
Joubert "RedRat" - Consultor em tecnologia - Technology consultant
/me at Linkedin http://br.linkedin.com/in/joubertredrat/ and Github
https://github.com/joubertredrat/
~(,,"> RedRat Consultoria
2017-01-08 7:54 GMT-02:00 Bwko notifications@github.com:
We could host weblate on our own server
https://github.com/WeblateOrg/weblate/—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/go-gitea/gitea/issues/114#issuecomment-271141093, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABczF5ObntS5fhZ5YsHT_9WELYACXrbXks5rQLJBgaJpZM4KsByg
.
If we cannot received the response some days, we could consider host it on our server.
This sound suggestive :+1:
It was already discussed and proposed, so yes. Considering it.
So let's setup parrot and close this issue? @tboerger @bkcsoft any idea?
Parrot doesn't support the ini format, so we most use weblate or something else
@tboerger Are you sure it doesn't?
@tboerger Are you sure it doesn't?
Yes, I'm sure: https://github.com/anthonynsimon/parrot/tree/master/parrot-api/export
It seems the interface is simple so that we can write an ini one using the same library with Gitea's configuration using.
It seems the interface is simple so that we can write an ini one using the same library with Gitea's configuration using.
That sounds good, so somebody should do that and we will see how long it takes to get accepted. But beside that I personally prefer MariaDB, this supports only PostgreSQL.
And maybe we should move this to v1.2?
Parrot is pretty chaotic to setup, weblate doesn't directly support the ini format, so I have requested an OSS project on Crowdin and it have already been approved: https://crowdin.com/project/gitea
Does crowdin has an API?
Of course it got
So how should we copy TRANSLATION back to this repository?
I'll look at integrating this during the weekend.
Seems like I need 2 commands, push and pull.
master
check if translations are updatedfurther extension on push
is if a translation other than en_US is changed
I probably won't have time to check this in the near future
Most helpful comment
Parrot is pretty chaotic to setup, weblate doesn't directly support the ini format, so I have requested an OSS project on Crowdin and it have already been approved: https://crowdin.com/project/gitea