Menu

No PHP syntax highlighting

Anonymous
2008-04-12
2012-12-07
  • Anonymous

    Anonymous - 2008-04-12

    Hello,

    I installed Dev-PHP 2.3.0 and now the syntax highlighting for php-files doens't work. The whole text is gray.

    In Options -> Highlighter is PHP selected and in the options is the syntax set correctly.

    And the second problem is, that Dev-PHP ignores the german language file, so that the programm is still in english.

     
    • Pierre Fauconnier

      Hello,

      > I installed Dev-PHP 2.3.0
      Thank you :)
      Via the NSIS installer or by downloading the .exe only ?

      > The syntax highlighting for php-files doens't work.
      > The whole text is gray.
      The menu Option » Highlighters should be set to Multi
      What is the extension of the current file in Editor ?

      > Second problem, Dev-PHP ignores the german language file
      In fact, we're using gettext now.
      Dev-PHP should work with ./locale/de/LC_MESSAGES/default.mo
      Internally, the program is english + spanish + deutsch ;)

      At the moment, I've only converted 2 languages from previous method : en, fr
      The NSIS installer might have checked the line 'Deutsch' in languages options ?
      But as I don't speak this language at all, the comments have to be updated

      msgid "Dev-PHP Program and 'lang' files."
      msgstr "Dev-PHP, das Programm und „lang“ Datei."

      msgid "English Documentation for PHP"
      msgstr ""

      msgid "The configuration files specific to an user."
      msgstr "Die Konfigurationsdateien eines bestimmten Benutzers."

      msgid "Preserve existing configuration files."
      msgstr "Ohne Änderung der bestehenden Konfigurationsdateien."

      msgid "Existing configuration files will be rewritten. No backup will be done before."
      msgstr "Bestehende Konfigurationsdateien werden neu geschrieben. Kein Backup gemacht werden."

      msgid "Install the language files provided thanks to the Dev-PHP contributors."
      msgstr "Installiert die Dateien der Lokalisierung (L10n) geliefert durch den Übersetzer von Dev-PHP."

      msgid "Other Options"
      msgstr ""

      msgid "Register Dev-PHP in the Quick Launch Bar."
      msgstr ""

      msgid "Do not create a start menu folder"
      msgstr ""

      msgid "Select the Start Menu folder in which you would like to create the program's shortcuts"
      msgstr ""

      #+ + Please, replace the ellipsis by your language name
      msgid "The localization file for the ... language."
      msgstr "Die Dateien der Lokalisierung für die Deutsche Sprache."

      Thank for your report, av3nger.
      Pierre.

       
    • Anonymous

      Anonymous - 2008-04-13

      Hello,

      > Via the NSIS installer or by downloading the .exe only ?
      I installed via installer to make sure that all new files are up to date.

      >The menu Option » Highlighters should be set to Multi
      >What is the extension of the current file in Editor ?
      The extension is .php and in the previous versions i used for the .php file "PHP" and not "Multi". With the Multi-Highlighter it works and the other Highlighters are also working. Only the "PHP" highlighter isn't working. Now I added the php-extension to the Multi-Highlighter.

      >The NSIS installer might have checked the line 'Deutsch' in languages options ?
      Yes, that's right.

      >Dev-PHP should work with ./locale/de/LC_MESSAGES/default.mo
      But I can't be select in the settings, because the programm is looking for a "Dev-PHP i18n" filetype. And the old german.lng is ingored.

      >But as I don't speak this language at all, the comments have to be updated
      Okay, I replaced the comments. But Dev-PHP is still in englisch: File, Edit, Search, View,... and the all the other menu items.

       
      • Pierre Fauconnier

        Hi,

        > I installed via installer to make sure that all new files are up to date.
        Es ist eine sehr kluge Vorsichtsmaßnahme
        That's perfect.

        >> The NSIS installer might have checked the line 'Deutsch'
        > Yes, that's right.
        Thanks. I was not sure.

        >> Dev-PHP should work with ./locale/de/LC_MESSAGES/default.mo
        > But I can't be select in the settings
        Actually gettext does this without special settings

        > And the old german.lng is ingored.
        Yes, from now it is ignored.
        We need tools from dxgettext in order to create the translation file.

        > Okay, I replaced the comments. But Dev-PHP is still in englisch
        That's right. At the moment, there are only 2 translations :
        french and english. English is the default.
        I'll add a "de" as soon as possible.
        see http://www.mswil.ch/websvn/filedetails.php?repname=devphp&path=%2Fbranches_2.1%2Flocale%2Fde%2FLC_MESSAGES%2Fdefault.po

         
      • Pierre Fauconnier

        Hi,

        Here is an attempt. Please, could you download this file
        http://devphp2.free.fr/files/de.mo
        into ./locale/de/LC_MESSAGES/default.mo [22 123 B]

        Regards,
        Pierre.

         
    • Anonymous

      Anonymous - 2008-04-30

      Hello,

      thanks for the file. The language file works correctly.

      One note: A better translation for "edit" is "Bearbeiten" instead of "Editieren" ;)

       
      • Pierre Fauconnier

        Hello av3nger,

        Thank you for your report.
        > better translation for "&Edit" is "Bearbeiten" instead of "Editieren" ;)
        Fine. But could you suggest a shortcut letter, in order to quickly access this option menu with the <Alt+letter> key ?
        Perhaps something like "&Bearbeiten" - except if <Alt+B> is already used for another option menu ?
        This is similar to using <Alt+D> as a shortcut to menu "Datei"

        Best regards,
        Pierre.

         
    • Anonymous

      Anonymous - 2008-05-09

      >But could you suggest a shortcut letter, in order to quickly access this option menu with the <Alt+letter> key ?
      >Perhaps something like "&Bearbeiten" - except if <Alt+B> is already used for another option menu ?

      "&Bearbeiten" (Alt+B) is the correct shortcut and it seems that B isn't used for another menu item.

       
      • Pierre Fauconnier

        > "&Bearbeiten" (Alt+B) is the correct shortcut
        Thanks a lot. Will be done next version (>= 2.3.0.310)
        there's a new compiled gettext message file for "de" here
        http://devphp2.free.fr/files/de.mo
        as usual it's necessary to store it to
        ./locale/de/LC_MESSAGES/default.mo

        If you have any other remarks I'll be pleased to include them.
        Thanks again,
        Pierre.

         

Log in to post a comment.

MongoDB Logo MongoDB