Ergebnis 1 bis 7 von 7
  1. #1
    Senior Mitglied
    Registriert seit
    27.03.2018
    Beiträge
    101
    Thanks (gegeben)
    22
    Thanks (bekommen)
    8
    Total Downloaded
    511,4 KB
    Total Downloaded
    511,4 KB
    ReceiverDankeAktivitäten

    Translating plugins

    Hi,

    I would like to translate the plugins. I also want plugins to be translated into Hungarian, which can be installed from the system.
    My box has an openATV 6.1 system. The following plugins are installed, for example: fan control (6.1 + git 2161), epgrefresh (6.1+ git6646), ...

    What does the 6.1 + git 2161 number mean for the plugin? Who gives those numbers to the openATV team or Github?
    How can I identify these plugins on Github with that numbering?
    For example, fan control (6.1 + git 2161) where is on Github?

    I'm sorry if I write the wrong place.

    Alec

    •   Alt Advertising

       

  2. #2
    Senior Mitglied Avatar von s3n0
    Registriert seit
    02.01.2017
    Beiträge
    1.150
    Thanks (gegeben)
    71
    Thanks (bekommen)
    281
    Total Downloaded
    323,0 KB
    Total Downloaded
    323,0 KB
    ReceiverDankeAktivitäten
    Box 1:
    Formuler F3
     
     
    Box 2:
    Vu+ Solo SE V2
     
     
    Box 3:
    Formuer F4-TURBO
     
     
    Hello.

    Main Git-Hub link for OpenATV project: openatv * GitHub (mouse click on to "enigma2" link as first and then use the search form - looking for the entry, as example: "fancontrol")

    OpenATV main firmware translations - folder named as "po" (in "enigma2"): enigma2/po at 6.1 * openatv/enigma2 * GitHub

    OpenATV SKIN - MetrixHD translations: MetrixHD/locale at master * openatv/MetrixHD * GitHub

    You can translate through the main translation file in the OpenATV image (in enigma2) or maybe through the localization file in SKIN MetrixHD (or depending on which SKIN you use for OpenATV). Try to add some translation text to the main translation ".po" file (use the pattern of already used in translations) and reboot your Enigma. If one of the tested strings in FanControl / EPG Refresh has translated this way, you have won :).

    Plugins are usually translated into other languages ​​directly via the main translation file in OpenATV image (* .po files).

    But it also depends on the particular plug-in. Some plug-ins contain their own translations (localization files), such as the well-known "OpenWebif" plugin. FanControl probably does not have translations into other languages. It only remains to translate it yourself. Open the code, edit it, and then upload it again to your satellite box. EPG Refresh should be possible to translate through the main translation file in OpenATV / enigma2.

    The problem, of course, is that the plug-in source code must be able to search for "translation strings" in a specific function that always looks for the appropriate translation according to the system language you set (for example, the names of the graphical buttons after being translated into a foreign language). Text strings can not be written as fixed strings in plugins but as a special function. For example:
    Code:
    			self['epgactions'] = HelpableActionMap(self, 'EPGSelectActions', 
    				{
    					'nextService': (self.nextService, _('Goto next channel')),
    					'prevService': (self.prevService, _('Goto previous channel')),
    					'info': (self.Info, _('Show detailed event info')),
    					'epg': (self.Info, _('Show detailed event info')),
    					'menu': (self.createSetup, _('Setup menu'))
    				}, -1)
    For example, in the main translation file sk.po (for my native language - Slovakia) look for the string "Show detailed event info". There will be a translation of the button description:
    Code:
    msgid "Show detailed event info"
    msgstr "Zobraziť detailné informácie o udalostiach"
    In the case of other plug-ins, translation may be working on a totally different principle.

    I do not know much about it, so I hope I do not do stupid things, ha ha.
    Geändert von s3n0 (01.04.2018 um 23:38 Uhr)
    Formuler F3 (BCM 7362-A0, 2x 750 MHz, mips)
    Formuler F4 TURBO (BCM 7362-5, 2x 750 MHz, mips)
    Vu+ Solo SE V2 (BCM 7429, 2x 1300 MHz, mips)

  3. Thanks alec-cs bedankten sich
  4. #3
    Avatar von mike99
    Registriert seit
    05.04.2013
    Ort
    Berlin
    Beiträge
    7.932
    Thanks (gegeben)
    879
    Thanks (bekommen)
    3000
    Total Downloaded
    271,45 MB
    Total Downloaded
    271,45 MB
    ReceiverDankeAktivitäten
    @alec-cs
    Gab doch hier schon ne Antwort: Translating plugins

    Und per PN habe ich dir doch auch schon ein paar Link`s geschickt...
    Gruss Mike



    GB UE 4K Cable FBC
    + PnP C/T2 Tuner mit FreenetModul
    Axas E4HD Ultra Sat + Dual DVB-C/T2
    Mut@nt HD-51 - 2x DVB-C/T2

    Toshiba 40TL838


  5. #4
    Senior Mitglied
    Registriert seit
    27.03.2018
    Beiträge
    101
    Thanks (gegeben)
    22
    Thanks (bekommen)
    8
    Themenstarter
    Total Downloaded
    511,4 KB
    Total Downloaded
    511,4 KB
    ReceiverDankeAktivitäten
    @s3n0, @mike99

    Thank you for your answers

  6. #5
    Senior Mitglied
    Registriert seit
    27.03.2018
    Beiträge
    101
    Thanks (gegeben)
    22
    Thanks (bekommen)
    8
    Themenstarter
    Total Downloaded
    511,4 KB
    Total Downloaded
    511,4 KB
    ReceiverDankeAktivitäten
    Hi,

    I would like to translate the plugin below: fancontrol

    enigma2-plugin-systemplugins-fancontrol
    6.1+git2168+aada646-r3

    Part of this system can be installed from extensions.

    I was looking for Githubon, but I can not find it.

    Where is the source located?

    I would like to request exact url access!

    Looking forward to your reply.



    If you can not tell me, who knows?

  7. #6
    Avatar von mike99
    Registriert seit
    05.04.2013
    Ort
    Berlin
    Beiträge
    7.932
    Thanks (gegeben)
    879
    Thanks (bekommen)
    3000
    Total Downloaded
    271,45 MB
    Total Downloaded
    271,45 MB
    ReceiverDankeAktivitäten
    Gruss Mike



    GB UE 4K Cable FBC
    + PnP C/T2 Tuner mit FreenetModul
    Axas E4HD Ultra Sat + Dual DVB-C/T2
    Mut@nt HD-51 - 2x DVB-C/T2

    Toshiba 40TL838


  8. #7
    Senior Mitglied
    Registriert seit
    27.03.2018
    Beiträge
    101
    Thanks (gegeben)
    22
    Thanks (bekommen)
    8
    Themenstarter
    Total Downloaded
    511,4 KB
    Total Downloaded
    511,4 KB
    ReceiverDankeAktivitäten

    Translating plugins

    Thanks mike99

    Unfortunately, Fancontrol2 is not what I have in my system.
    Compare the two files.

    enigma2-plugin-systemplugins-fancontrol
    6.1+git2168+aada646-r3

    Where is the source located?

    I would like to request exact url access!

    two_po_files.zip


Stichworte

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  
Alle Zeitangaben in WEZ +1. Es ist jetzt 10:37 Uhr.
Powered by vBulletin® Version 4.2.5 (Deutsch)
Copyright ©2021 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.
Resources saved on this page: MySQL 5,56%
Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)
vBulletin Skin By: PurevB.com