Hi all, Is there an existing mechanism for translating Koha Plugins? I'm (slowly) working on some plugins, and there are folk in the Czech Republic who would like to use them but not in English. David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia Office: 02 9212 0899 Online: 02 8005 0595
Hi, Unfortunably I think there is not. I know plugins like Inlibro Carrousel did it manually : https://git.biblibre.com/biblibre/koha-plugin-inlibro-carrousel/src/branch/m... We should provide a common way to do this. Best regards, Le 11/06/2020 à 02:13, dcook@prosentient.com.au a écrit :
Hi all,
Is there an existing mechanism for translating Koha Plugins?
I’m (slowly) working on some plugins, and there are folk in the Czech Republic who would like to use them but not in English.
David Cook
Systems Librarian
Prosentient Systems
72/330 Wattle St
Ultimo, NSW 2007
Australia
Office: 02 9212 0899
Online: 02 8005 0595
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
-- Fridolin SOMERS <fridolin.somers@biblibre.com> Software and system maintainer 🦄 BibLibre, France
There is koha-plugin-pay-via-paypal. Le lun. 15 juin 2020 à 10:19, Fridolin SOMERS <fridolin.somers@biblibre.com> a écrit :
Hi,
Unfortunably I think there is not.
I know plugins like Inlibro Carrousel did it manually :
https://git.biblibre.com/biblibre/koha-plugin-inlibro-carrousel/src/branch/m...
We should provide a common way to do this.
Best regards,
Le 11/06/2020 à 02:13, dcook@prosentient.com.au a écrit :
Hi all,
Is there an existing mechanism for translating Koha Plugins?
I’m (slowly) working on some plugins, and there are folk in the Czech Republic who would like to use them but not in English.
David Cook
Systems Librarian
Prosentient Systems
72/330 Wattle St
Ultimo, NSW 2007
Australia
Office: 02 9212 0899
Online: 02 8005 0595
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
-- Fridolin SOMERS <fridolin.somers@biblibre.com> Software and system maintainer 🦄 BibLibre, France _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
Le 15/06/2020 à 10:47, Jonathan Druart a écrit :
There is koha-plugin-pay-via-paypal.
I cant find this plugin. Is it on GitHub or somewhere ?
Le lun. 15 juin 2020 à 10:19, Fridolin SOMERS <fridolin.somers@biblibre.com <mailto:fridolin.somers@biblibre.com>> a écrit :
Hi,
Unfortunably I think there is not.
I know plugins like Inlibro Carrousel did it manually :
https://git.biblibre.com/biblibre/koha-plugin-inlibro-carrousel/src/branch/m...
We should provide a common way to do this.
Best regards,
Le 11/06/2020 à 02:13, dcook@prosentient.com.au <mailto:dcook@prosentient.com.au> a écrit : > Hi all, > > Is there an existing mechanism for translating Koha Plugins? > > I’m (slowly) working on some plugins, and there are folk in the Czech > Republic who would like to use them but not in English. > > David Cook > > Systems Librarian > > Prosentient Systems > > 72/330 Wattle St > > Ultimo, NSW 2007 > > Australia > > Office: 02 9212 0899 > > Online: 02 8005 0595 > > > _______________________________________________ > Koha-devel mailing list > Koha-devel@lists.koha-community.org <mailto:Koha-devel@lists.koha-community.org> > https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel > website : http://www.koha-community.org/ > git : http://git.koha-community.org/ > bugs : http://bugs.koha-community.org/ >
-- Fridolin SOMERS <fridolin.somers@biblibre.com <mailto:fridolin.somers@biblibre.com>> Software and system maintainer 🦄 BibLibre, France _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org <mailto:Koha-devel@lists.koha-community.org> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
-- Fridolin SOMERS <fridolin.somers@biblibre.com> Software and system maintainer 🦄 BibLibre, France
https://gitlab.com/thekesolutions/plugins/koha-plugin-pay-via-paypal Le lun. 15 juin 2020 à 11:05, Fridolin SOMERS <fridolin.somers@biblibre.com> a écrit :
Le 15/06/2020 à 10:47, Jonathan Druart a écrit :
There is koha-plugin-pay-via-paypal.
I cant find this plugin. Is it on GitHub or somewhere ?
Le lun. 15 juin 2020 à 10:19, Fridolin SOMERS <fridolin.somers@biblibre.com <mailto:fridolin.somers@biblibre.com>> a écrit :
Hi,
Unfortunably I think there is not.
I know plugins like Inlibro Carrousel did it manually :
https://git.biblibre.com/biblibre/koha-plugin-inlibro-carrousel/src/branch/m...
We should provide a common way to do this.
Best regards,
Le 11/06/2020 à 02:13, dcook@prosentient.com.au <mailto:dcook@prosentient.com.au> a écrit : > Hi all, > > Is there an existing mechanism for translating Koha Plugins? > > I’m (slowly) working on some plugins, and there are folk in the Czech > Republic who would like to use them but not in English. > > David Cook > > Systems Librarian > > Prosentient Systems > > 72/330 Wattle St > > Ultimo, NSW 2007 > > Australia > > Office: 02 9212 0899 > > Online: 02 8005 0595 > > > _______________________________________________ > Koha-devel mailing list > Koha-devel@lists.koha-community.org <mailto:Koha-devel@lists.koha-community.org> >
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/ > git : http://git.koha-community.org/ > bugs : http://bugs.koha-community.org/ >
-- Fridolin SOMERS <fridolin.somers@biblibre.com <mailto:fridolin.somers@biblibre.com>> Software and system maintainer 🦄 BibLibre, France _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org <mailto:Koha-devel@lists.koha-community.org> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
-- Fridolin SOMERS <fridolin.somers@biblibre.com> Software and system maintainer 🦄 BibLibre, France _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
Hello everyone, koha-plugin-pay-via-paypal uses Vue to display frontend, and automatically chooses the language based on the lang attribute of html tag. Here https://gitlab.com/thekesolutions/plugins/koha-plugin-pay-via-paypal/-/blob/... adds the i18n module, and detects the language based on the tag. Here https://gitlab.com/thekesolutions/plugins/koha-plugin-pay-via-paypal/-/tree/... are placed the locale files. After that, you can use $t function in vue templates. If anyone needs more details of implementation, I gladly can explain further. Cheers On Mon, Jun 15, 2020 at 6:43 AM Jonathan Druart < jonathan.druart@bugs.koha-community.org> wrote:
https://gitlab.com/thekesolutions/plugins/koha-plugin-pay-via-paypal
Le lun. 15 juin 2020 à 11:05, Fridolin SOMERS < fridolin.somers@biblibre.com> a écrit :
Le 15/06/2020 à 10:47, Jonathan Druart a écrit :
There is koha-plugin-pay-via-paypal.
I cant find this plugin. Is it on GitHub or somewhere ?
Le lun. 15 juin 2020 à 10:19, Fridolin SOMERS <fridolin.somers@biblibre.com <mailto:fridolin.somers@biblibre.com>> a écrit :
Hi,
Unfortunably I think there is not.
I know plugins like Inlibro Carrousel did it manually :
https://git.biblibre.com/biblibre/koha-plugin-inlibro-carrousel/src/branch/m...
We should provide a common way to do this.
Best regards,
Le 11/06/2020 à 02:13, dcook@prosentient.com.au <mailto:dcook@prosentient.com.au> a écrit : > Hi all, > > Is there an existing mechanism for translating Koha Plugins? > > I’m (slowly) working on some plugins, and there are folk in the Czech > Republic who would like to use them but not in English. > > David Cook > > Systems Librarian > > Prosentient Systems > > 72/330 Wattle St > > Ultimo, NSW 2007 > > Australia > > Office: 02 9212 0899 > > Online: 02 8005 0595 > > > _______________________________________________ > Koha-devel mailing list > Koha-devel@lists.koha-community.org <mailto:Koha-devel@lists.koha-community.org> >
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/ > git : http://git.koha-community.org/ > bugs : http://bugs.koha-community.org/ >
-- Fridolin SOMERS <fridolin.somers@biblibre.com <mailto:fridolin.somers@biblibre.com>> Software and system maintainer 🦄 BibLibre, France _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org <mailto:Koha-devel@lists.koha-community.org>
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
-- Fridolin SOMERS <fridolin.somers@biblibre.com> Software and system maintainer 🦄 BibLibre, France _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
Ahoj! You can now use a LANG variable from plugin template, since Bug 25099 : https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25099 Note that the dummy “mannequin” plugin linked in the bug is pretty dumb and straightforward. It is inspired by Theke Solutions but I had to make something really tiny and dumb to understand how to do it. bye, -- n
Hi all, I see Magnus has started a wiki page: https://wiki.koha-community.org/wiki/Translating_plugins It would be great to see all information gathered there. I have been asked about it too, but didn't know what to refer to. I hope many plugins will now be made translatable! Katrin On 15.06.20 17:09, Nicolas Legrand wrote:
Ahoj!
You can now use a LANG variable from plugin template, since Bug 25099 :
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25099
Note that the dummy “mannequin” plugin linked in the bug is pretty dumb and straightforward. It is inspired by Theke Solutions but I had to make something really tiny and dumb to understand how to do it.
bye,
-- n
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
participants (6)
-
Agustin Moyano -
dcook@prosentient.com.au -
Fridolin SOMERS -
Jonathan Druart -
Katrin Fischer -
Nicolas Legrand