Vu+
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

BH official French Translation

Discussion in 'Black Hole Translations' started by Tamaki, Feb 21, 2013.

  1. niglou

    niglou BH Lover

    Messages:
    449
    @Shiro

    Thank you for your interest in our problem.

    Regarding modification of plugins, I know they are grabbed as they are from different sources.
    My idea to make them properly working regarding translation was to make a python script, using function "Fileinput", then "line.replace(<old string>, <new string>)", and finaly "nextfile" to patch the few python files causing problems.
    This script being applied either before building image, or once image already installed on the receiver.

    I think it should be the quickest and easiest solution as translations of all plugins permanently present on image Black Hole are already included in the main translation file..... But you are the Boss, and then up to you to decide.
     
  2. niglou

    niglou BH Lover

    Messages:
    449
    @Tamaki

    Here is latest French translation with new strings from BH 2.0.8

    You can give to coder.
     

    Attached Files:

    Tamaki likes this.
  3. Tamaki

    Tamaki Administrator

    Messages:
    4,629
    Given to coder.
     
    niglou likes this.
  4. saraghon

    saraghon Vu+ Newbie

    Messages:
    7
    Hi guys. Thanks for the good work. I found an transcription mistake in the french translation by niglou. It's related to the translation of the 'Setup' string. niglou writes it 'Paramètrer'. The correct transcription is 'Paramétrer' (avec un accent aigu et pas un accent grave).
    I hope I can help you with this modified enigma.po file.
    I replaced ' Paramétrer ' with ' Paramètrer ' in all the stings to be grammatically correct.
    Thanks.
    PO file attached in ZIP archive.
     

    Attached Files:

    niglou likes this.
  5. saraghon

    saraghon Vu+ Newbie

    Messages:
    7
    I replaced 'Paramètrer' with 'Paramétrer' in all stings.
    Here is the modified mo file too. I tried it and it's working perfect. Thanks! :)
     

    Attached Files:

  6. Tamaki

    Tamaki Administrator

    Messages:
    4,629
    Tnx saraghon for advice, but i have to wait for niglou correction as he well knows how to do it.
    If there is any mistake in your job it could block all imgs compile.
     
    saraghon and niglou like this.
  7. niglou

    niglou BH Lover

    Messages:
    449
    @saraghon Thank you for your remark. I have done the change.

    @Tamaki
    Here is latest French translation : includes saraghon change plus other small fixes.
    You can give to coder.
     

    Attached Files:

    Tamaki and saraghon like this.
  8. saraghon

    saraghon Vu+ Newbie

    Messages:
    7
    Ok. Thanks.
     
  9. saraghon

    saraghon Vu+ Newbie

    Messages:
    7
    You're welcome my friend.
     
  10. Tamaki

    Tamaki Administrator

    Messages:
    4,629
    Given
     
  11. niglou

    niglou BH Lover

    Messages:
    449
    @Tamaki

    Here is latest French for BH 2.0.9, you can give to coder.

    Also one question : do you consider Meoboot is an "External" plugin or is maintained by Black Hole Team ?
     

    Attached Files:

    Tamaki likes this.
  12. Tamaki

    Tamaki Administrator

    Messages:
    4,629
    Meoboot is made by the same coder as BH, it is an external plugin that you can active using speedup menu.
     
    niglou likes this.
  13. niglou

    niglou BH Lover

    Messages:
    449
    @Tamaki

    I was asking because there is a mistake in the coding of the _init_.py file of meoboot (and also from same author in openwebif). You can see that Meoboot is no more translated in any language although all strings are present in every translation files.

    Could you please report him that the plugin does not revert to main translation file if its own locale is not present ?

    Here is part of the actual and not working _init_.py

    Code:
    def _(txt):
                t = gettext.dgettext(PluginLanguageDomain, txt)
                if t == txt:
                    print "[MeoBoot] fallback to default translation for", txt
                t = gettext.dgettext('enigma2', txt)
    
                return t
    Here is a modified working code :

    Code:
    def _(txt):
        lang = language.getLanguage()[:2]
        t = gettext.dgettext(PluginLanguageDomain, txt)
        if  t == txt:
            print "[" + PluginLanguageDomain + "] fallback to default translation for " , txt
        t = gettext.dgettext('/usr/share/enigma2/po/' + lang + '/LC_MESSAGES/enigma2', txt)
        return t
    7 plugins used in Black Hole default image are affected by this mistake. Could be a good start if meoboot (and may be openwebif) are corrected in next image.
     
    Tamaki likes this.
  14. niglou

    niglou BH Lover

    Messages:
    449
    @Tamaki

    Here is new french translation for BH 2.0.9 with new strings from youtube TV.
     

    Attached Files:

    olive069 and Tamaki like this.
  15. xommit

    xommit Vu+ Newbie

    Messages:
    5
    Hello
    Just spell checking for Blackhole 3.0.1C

    Bonjour
    Correction juste orthographique pour Blackhole 3.0.1C

    Le 31/12/2015
     

    Attached Files:

  16. xommit

    xommit Vu+ Newbie

    Messages:
    5
    Hi !
    Can you add English string "Use Manual dns-nameserver" in mo file.
    You can see in network interface configuration.

    The translation is : "Utiliser un DNS manuel"

    Thanks
     
  17. xommit

    xommit Vu+ Newbie

    Messages:
    5
    Hi
    Many adds and corrections strings.
     

    Attached Files:

  18. xommit

    xommit Vu+ Newbie

    Messages:
    5
    Hi !

    ...
     

    Attached Files:

    Tamaki likes this.
  19. Tamaki

    Tamaki Administrator

    Messages:
    4,629
    Given to coder
     

Share This Page