Enabling gitlocalize for online translations?

24 views
Skip to first unread message

Christian Brabandt

unread,
May 11, 2020, 1:51:50 PM5/11/20
to vim...@vim.org
Bram,
there exists a project called Gitlocalize (https://gitlocalize.com),
that allows to create online localizations. It expects an input path (po
file) and a target file (e.g. de.po). It then analyzes the input and
allows to edit the translation files via a webbrowser.

Once the translations are ready, a user can then automatically create a
PR. I think enabling the gitlocalize access to the vim repository can be
beneficial, what do you think?

If we want to enable this, we need however to check in the vim.po file,
otherwise we do not have all available input translations avilable.

Best,
Christian
--
Möge das Studium der griechischen und römischen Literatur
immerfort die Basis der höhern Bildung bleiben!
-- Goethe, Maximen und Reflektionen, Nr. 178

Bram Moolenaar

unread,
May 11, 2020, 2:56:40 PM5/11/20
to vim...@googlegroups.com, Christian Brabandt, vim...@vim.org

Christian wrote:

> there exists a project called Gitlocalize (https://gitlocalize.com),
> that allows to create online localizations. It expects an input path (po
> file) and a target file (e.g. de.po). It then analyzes the input and
> allows to edit the translation files via a webbrowser.
>
> Once the translations are ready, a user can then automatically create a
> PR. I think enabling the gitlocalize access to the vim repository can be
> beneficial, what do you think?
>
> If we want to enable this, we need however to check in the vim.po file,
> otherwise we do not have all available input translations avilable.

Don't you mean the vim.pot file?

That file can be generated, thus including it with the distribution
isn't very useful. Does it work to put it separately, in another
sub-project?

--
From "know your smileys":
...---... SOS

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

Christian Brabandt

unread,
May 11, 2020, 3:01:44 PM5/11/20
to vim...@googlegroups.com, vim...@vim.org

On Mo, 11 Mai 2020, Bram Moolenaar wrote:

>
> Christian wrote:
>
> > there exists a project called Gitlocalize (https://gitlocalize.com),
> > that allows to create online localizations. It expects an input path (po
> > file) and a target file (e.g. de.po). It then analyzes the input and
> > allows to edit the translation files via a webbrowser.
> >
> > Once the translations are ready, a user can then automatically create a
> > PR. I think enabling the gitlocalize access to the vim repository can be
> > beneficial, what do you think?
> >
> > If we want to enable this, we need however to check in the vim.po file,
> > otherwise we do not have all available input translations avilable.
>
> Don't you mean the vim.pot file?

Yes.

> That file can be generated, thus including it with the distribution
> isn't very useful. Does it work to put it separately, in another
> sub-project?

No, it is expected to reside in the repository which you want to
translate. Also, you would need to approve the gitlocalize app to access
the vim repository.

Best,
Christian
--
Zum Ergreifen der Wahrheit braucht es eines höheren Organs als
zur Verteidigung des Irrtums.
-- Goethe, Maximen und Reflektionen, Nr. 1052

Christian Brabandt

unread,
May 11, 2020, 3:07:49 PM5/11/20
to vim...@googlegroups.com

On Mo, 11 Mai 2020, Christian Brabandt wrote:

> No, it is expected to reside in the repository which you want to
> translate.

Hm, perhaps not. Let me check again.

> Also, you would need to approve the gitlocalize app to access the vim
> repository.

That is still true.

Best,
Christian
--
Die Bewunderung nützt nicht sowohl dem Gegenstande als dem Subjekt am
meisten; man freuet sich über die Größe des Menschen und daß man sie
empfindet.
-- Jean Paul

Bram Moolenaar

unread,
May 11, 2020, 5:20:05 PM5/11/20
to vim...@googlegroups.com, Christian Brabandt, vim...@vim.org

Christian wrote:

> > > there exists a project called Gitlocalize (https://gitlocalize.com),
> > > that allows to create online localizations. It expects an input path (po
> > > file) and a target file (e.g. de.po). It then analyzes the input and
> > > allows to edit the translation files via a webbrowser.
> > >
> > > Once the translations are ready, a user can then automatically create a
> > > PR. I think enabling the gitlocalize access to the vim repository can be
> > > beneficial, what do you think?
> > >
> > > If we want to enable this, we need however to check in the vim.po file,
> > > otherwise we do not have all available input translations avilable.
> >
> > Don't you mean the vim.pot file?
>
> Yes.
>
> > That file can be generated, thus including it with the distribution
> > isn't very useful. Does it work to put it separately, in another
> > sub-project?
>
> No, it is expected to reside in the repository which you want to
> translate. Also, you would need to approve the gitlocalize app to access
> the vim repository.

Hmm, it's about 160 Kbyte. I suppose that's doable.

--
From "know your smileys":
8<}} Glasses, big nose, beard
Reply all
Reply to author
Forward
0 new messages