Shop OBEX P1 Docs P2 Docs Learn Events
Simple IDE: Parallax needs translators! - Page 5 — Parallax Forums

Simple IDE: Parallax needs translators!

1235

Comments

  • MacTuxLinMacTuxLin Posts: 821
    edited 2012-07-26 04:54
    copter is right. After I released the latest .ts file, most of them were solved.

    1. Under Help, the "Credits" still shows as English even though .ts file already have the CS (&Credits and Credits in MainSpinWindow) - (Solved)
    2. When selecting Projects/Open Project, the title on the window have problem on the 3rd character. The sentence in .ts file looks fine, though. - (Solved)
    3. Menu Projects/Save As Project. - (Solved)
    4. Menu Projects/Clone Project. - (Solved)
    5. Compiler Tab title. - Still in English
    6. Linker Tab title. - Still in English
    7. Under Linker Tab, Create Project Library - (Solved)
    8. Ballon help for Save As Project. - (Solved)
    9. Ballon help for Back - (Solved)
    10. Ballon help for (Browse Ctrl+Left Click) - (Solved)
    11. Stop Build or Loader - (Solved)
    12. Build Status Tab title - (Solved)
    13. Inside About, "Visit SimpleIDE for more information" - (Solved)
    14. Inside About, "Email bug reports to .. " - Still in English
    15. Inside About, "Show this window at startup" - (Solved)
    16. Inside Project/Properties:
    a. GCC Folders Tab Title - Still in English
    b. Spin Folders Tab Title - Still in English
    c. General Tab Title - Still in English
    d. Highlight Tab Title - (Solved)
    17. Compiled & Terminal is working but buttons "Options" & "OK" still in English. There's one thing very weird. On first launch & Run Console, the Terminal's button "Disable" was in CS. After I click "OK" & click Run Console again, it shows up in English. On subsequent clicking of Run Console, it stays in English. But if I quit & launch & Run Console, the first time would always be in CS ... - - Still the same problem but now, cannot see the text (maybe same color as background color?)
  • coptercopter Posts: 36
    edited 2012-07-26 05:21
    MacTuxLin, you got to a same point as I did. Missing translations match between Finnish and Simplified Chinese. It's up to jazzed now. :)

    EDIT: Regarding terminal it seems that you had the terminal working before you updated .qm file for your language?

    jazzed, could it be that system is trying to use localized string when it's defining fore- and background colors to terminal? When it doesn't work, system defaults to black? It seems that terminal is working except the colors, because I can see buffer increasing when I run Hello Word that just outputs lots of lines.
  • jazzedjazzed Posts: 11,803
    edited 2012-07-26 08:52
    Hi Guys. Thanks for all your effort.

    I didn't deliberately ignore early feedback - all of last month was packed with enhancements and other bug fixes.

    It will be a few days before I get back to my development environment - I'm away from home for a summer holiday.

    Thanks,
    --Steve
  • MacTuxLinMacTuxLin Posts: 821
    edited 2012-07-26 20:56
    copter wrote: »
    Regarding terminal it seems that you had the terminal working before you updated .qm file for your language?

    Yeap. It was working before I updated the .qm file.
  • DamirXDamirX Posts: 12
    edited 2012-07-27 01:29
    MacTuxLin wrote: »
    Hello team,

    I'm not sure if this issue had been discussed before but I'm just thinking about the infrastructure in future translation need.

    1. We could have a simple web page (maybe in php or jsp) that will load each .ts file & populate to a MySQL DB with fields like English-US (Main), UK, French, German, CS, CT, etc.
    What do all of you think?

    Why not using Google code repository, for example and not reinvent a bicycle?
    All needed infrastructure of collaboration working is already done. You just have make your choice.
  • MacTuxLinMacTuxLin Posts: 821
    edited 2012-07-27 01:34
    DamirX wrote: »
    Why not using Google code repository, for example and not reinvent a bicycle?
    All needed infrastructure of collaboration working is already done. You just have make your choice.

    You've got a point, DamirX. However, I'm thinking more of just code sharing. Having the web-site perform some, if not all, the functions that copter mentioned in his thread.
  • OppaErichOppaErich Posts: 48
    edited 2012-07-28 06:17
    Phew, done with the translation so far. Some things were inactive, I couldn't enter anything. The attached file is the .ts renamed to .zip. :innocent:

    A question about the hotkeys: Some won't fit into German (About -
  • jazzedjazzed Posts: 11,803
    edited 2012-07-28 19:44
    copter wrote: »
    jazzed, could it be that system is trying to use localized string when it's defining fore- and background colors to terminal? When it doesn't work, system defaults to black? It seems that terminal is working except the colors, because I can see buffer increasing when I run Hello Word that just outputs lots of lines.

    I'm not sure what to make of the fore- and background color problem. I don't have them localized with tr(...). I'll look into the default to zero hypothesis. What happens if you use the "Reset Options" button? I put the defaults to yellow/blue fore/background.

    I tested the Linux release on debian 32 using LANG=fi.utf8, etc... and everything seemed to work right.

    I tested v0-8-1 on windows xp by changing the locales. Everything seemed fine.

    Kenichi, I don't see the translations folder in the mac package at all. I'm so sorry for this oversight. Under Simpleide.app, please create a translation folder at the same level as MacOSX and add your .qm file there. Restart SimpleIDE.

    I'm recovering from the Las Vegas trip, and will be back into this more tomorrow.

    Thanks,
    --Steve
  • MacTuxLinMacTuxLin Posts: 821
    edited 2012-07-29 04:58
    Hello Steve,

    Yes, that's what I thought so I copied to the same folder as SimpleIDE.app but it didn't work. Actually, I've forgotten that I need to copy into SimpleIDE.app (my fault). Just done that & now its working (but still with the same problems I see in Win7).

    Thank you.

    Cheers
    Kenichi
  • jazzedjazzed Posts: 11,803
    edited 2012-07-29 07:24
    MacTuxLin wrote: »
    Hello Steve,

    Yes, that's what I thought so I copied to the same folder as SimpleIDE.app but it didn't work. Actually, I've forgotten that I need to copy into SimpleIDE.app (my fault). Just done that & now its working (but still with the same problems I see in Win7).

    Thank you.

    Cheers
    Kenichi


    We want the Mac app to look like this:

    $ ls SimpleIDE.app/
    Contents

    $ SimpleIDE.app/Contents/
    Frameworks Info.plist MacOS PkgInfo PlugIns Resources translations

    $ ls SimpleIDE.app/Contents/MacOS/
    SimpleIDE

    $ ls SimpleIDE.app/Contents/translations/
    SimpleIDE_de.qm SimpleIDE_fi.qm SimpleIDE_pt.qm SimpleIDE_zh.qm




    @copter, are you running from the debian distribution?

    I tested the distribution. Here are the contents:

    $ ls SimpleIDE-0-8-1
    INSTALL.txt bin demos license parallax setup.sh simpleide translations

    $ ls SimpleIDE-0-8-1/bin
    SimpleIDE ctags libQtCore.so.4 libQtGui.so.4 libaudio.so.2 template.sh

    $ ls SimpleIDE-0-8-1/translations/SimpleIDE_de.qm SimpleIDE_fi.qm SimpleIDE_pt.qm SimpleIDE_zh.qm

    It is possible to run from the source build, but it is necessary for translations to be in the right place, and they are not by default. Even if I move them, it's possible to mis-configure the build environment so that the translations don't work.
  • coptercopter Posts: 36
    edited 2012-08-01 03:37
    @jazzed, I was running Windows 7 64-bit version when I tested. I can try what happens when running Linux too. I prefer Ferdora, so I'll test it there from the source build. What I still wonder is that when MacTuxLin tested he had the same issues with terminal, but only after he did put the updated translations on place. But OK I will test this and report here. Sorry about the delay, my holidays just ended and it has been a killer week this far. ;)
  • jazzedjazzed Posts: 11,803
    edited 2012-08-01 06:39
    copter wrote: »
    @jazzed, I was running Windows 7 64-bit version when I tested. I can try what happens when running Linux too. I prefer Ferdora, so I'll test it there from the source build. What I still wonder is that when MacTuxLin tested he had the same issues with terminal, but only after he did put the updated translations on place. But OK I will test this and report here. Sorry about the delay, my holidays just ended and it has been a killer week this far. ;)
    Oops. I thought you were running Linux already. Don't bother unless you just want to do it.
    If you do, make sure to use $ hg update spinside

    I use Windows 7 64 pro in development and can't reproduce the issues.
    My test laptop has pro (or something else). I'll try it today.
    No problems with my WindowsXP VM.

    Can you try this ?

    1) reset options in the terminal options (don't close the dialog).
    2) then in the properties general tab press the clear and exit button.
    3) restart simpleide.
  • coptercopter Posts: 36
    edited 2012-08-01 08:28
    I tried what you suggested above, but it didn't make any difference. Here's couple pictures attached from different situations. I tested this time on Windows 7 Ultimate 32-bit (64-bit was Pro version), but all works just like on my another laptop.

    This is terminal after I installed clean version 0.8.1, didn't do anything about the translations (used the file supplied with the installer package). Everything works like it should:
    terminal_1.png


    Then I took my latest translation which is attached in this thread, released it to overwrite existing file in translations folder. I was able to see that serial is outputting (bar on the left was moving to there was content coming to the window). Terminal was the same after applying defaults the way you mentioned above:
    terminal_2.png


    These are the settings, so all colors etc are properly selected:
    terminal_options_2.png


    I hope this helps to figure out what's happening.
    808 x 430 - 36K
    808 x 430 - 20K
    469 x 451 - 32K
  • jazzedjazzed Posts: 11,803
    edited 2012-08-01 09:48
    Ok, this is perfectly clear now. Thanks for going the extra mile to describe the problem step by step. Sorry I missed it earlier.
    Yes, the localization of the color names is definitely the problem.

    Should have a fix soon.

    copter wrote: »
    I tried what you suggested above, but it didn't make any difference. Here's couple pictures attached from different situations. I tested this time on Windows 7 Ultimate 32-bit (64-bit was Pro version), but all works just like on my another laptop.

    This is terminal after I installed clean version 0.8.1, didn't do anything about the translations (used the file supplied with the installer package). Everything works like it should:
    terminal_1.png


    Then I took my latest translation which is attached in this thread, released it to overwrite existing file in translations folder. I was able to see that serial is outputting (bar on the left was moving to there was content coming to the window). Terminal was the same after applying defaults the way you mentioned above:
    terminal_2.png


    These are the settings, so all colors etc are properly selected:
    terminal_options_2.png


    I hope this helps to figure out what's happening.
  • jazzedjazzed Posts: 11,803
    edited 2012-08-01 10:45
    Here's an update to the Windows SimpleIDE.exe program. It must be copied over a previous 0-8-x installation SimpleIDE.exe.
    Unzip the program and copy to the C:\program files (x86)\SimpleIDE\bin folder.

    This should fix the terminal colors issue for translations. Other translation issues have not been addressed yet.
  • MacTuxLinMacTuxLin Posts: 821
    edited 2012-08-01 11:47
    OK, terminal color tested in SC.

    SC_TerminalSolved.png
    572 x 311 - 58K
  • jazzedjazzed Posts: 11,803
    edited 2012-08-01 11:56
    MacTuxLin wrote: »
    OK, terminal color tested in SC.

    SC_TerminalSolved.png


    Great! Thanks Kenichi!

    I have more work to do before I post new .ts files. I have recent Finnish and German updates in hand. Need more ....
  • coptercopter Posts: 36
    edited 2012-08-01 12:07
    Works for me too. Great job!
  • jazzedjazzed Posts: 11,803
    edited 2012-08-01 21:09
    Ok, attached is a windows 0-8-3 update that addresses the items below.
    Translation files are in the attached simpleide-ts-files.zip

    Same deal as the other SimpleIDE.exe - must be copied into a pre-existing C:\Program Files (x86)\SimpleIDE\bin to run.
    Fill out 11 new items for the .ts files. Release as SimpleIDE_ID.qm . Copy to C:\Program Files (x86)\SimpleIDE\translations.
    Restart SimpleIDE to test.
    copter wrote: »
    Fixed - In about box "email bug reports to" is not localized (mentioned before)
    QtWidget (overload?) - In editor when you hover the mouse of top of close mark (X) in a tab, "Close tab" pops up, but is not localized (new)
    Fixed - In main window at the left bottom "Code size" line is not localized (mentioned before)
    Fixed - In main window above "Code size" line there's three tabs where you access project options, compiler and linker settings. Only "Project options" is localized, "Compiler" and "Linker" appear in English. Contents of the tabs are OK (new)
    Untitled is a keyword. No plan to change it. - New files appear as non localized / untitled (mentioned before)
    Fixed? - In settings popup all tab names except "Highlight" are not localized (new)
    Fixed - In Simple terminal name of the window is not localized (mentioned before)
    - In Simple terminal enable / disable is not localized (mentioned before)
    QtWidget - In Simple Terminal settings and general settings "OK" and "Cancel" buttons are not localized. (new)
    - When closing a file or project without saving, popup warns do I want to save the file. Buttons in this dialog are not localized. (new)
  • coptercopter Posts: 36
    edited 2012-08-02 01:33
    Here's my findings below and latest translations attached. ;)

    ---

    Fixed - In about box "email bug reports to" is not localized (mentioned before)
    OK

    QtWidget (overload?) - In editor when you hover the mouse of top of close mark (X) in a tab, "Close tab" pops up, but is not localized (new)
    Didn't notice anything new regarding this one, behavior is the same.

    Fixed - In main window at the left bottom "Code size" line is not localized (mentioned before)
    OK

    Fixed - In main window above "Code size" line there's three tabs where you access project options, compiler and linker settings. Only "Project options" is localized, "Compiler" and "Linker" appear in English. Contents of the tabs are OK (new)
    OK

    Untitled is a keyword. No plan to change it. - New files appear as non localized / untitled (mentioned before)
    Good to know. At some point maybe it could be possible just to replace the string when printing it to GUI and keep the internal keyword like it is?

    Fixed? - In settings popup all tab names except "Highlight" are not localized (new)
    All others are now OK, except "GCC Folders" (3/4 localized now).

    Fixed - In Simple terminal name of the window is not localized (mentioned before)
    OK

    - In Simple terminal enable / disable is not localized (mentioned before)
    Seems that localization is not working, but behavior has changed so that now this button is always non-localized (earlier it was localized when you opened the window, but not localized after you clicked enable / disable button).

    QtWidget - In Simple Terminal settings and general settings "OK" and "Cancel" buttons are not localized. (new)
    Didn't notice anything new regarding this one, behavior is the same.

    - When closing a file or project without saving, popup warns do I want to save the file. Buttons in this dialog are not localized. (new)
    Didn't notice anything new regarding this one, behavior is the same.
  • jazzedjazzed Posts: 11,803
    edited 2012-08-02 07:59
    Things tagged as Fixed(?) were all I had time for yesterday.
    copter wrote: »
    QtWidget (overload?) - In editor when you hover the mouse of top of close mark (X) in a tab, "Close tab" pops up, but is not localized (new)
    Didn't notice anything new regarding this one, behavior is the same.

    Sorry, I was thinking out loud. The "Close Tab" hover help over the (X) seems to be a QtTabWidget thing with no accessor method. I was looking to see if I could change it by extending the class, but it's not clear how that will work yet.

    copter wrote: »
    Untitled is a keyword. No plan to change it. - New files appear as non localized / untitled (mentioned before)
    Good to know. At some point maybe it could be possible just to replace the string when printing it to GUI and keep the internal keyword like it is?

    I'll think about it, but as a lower priority.

    copter wrote: »
    Fixed? - In settings popup all tab names except "Highlight" are not localized (new)
    All others are now OK, except "GCC Folders" (3/4 localized now).

    I'll check this today - thanks.

    copter wrote: »
    - In Simple terminal enable / disable is not localized (mentioned before)
    Seems that localization is not working, but behavior has changed so that now this button is always non-localized (earlier it was localized when you opened the window, but not localized after you clicked enable / disable button).

    I'll probably make this a checkable button so that the text doesn't matter.

    copter wrote: »
    QtWidget - In Simple Terminal settings and general settings "OK" and "Cancel" buttons are not localized. (new)
    Didn't notice anything new regarding this one, behavior is the same.

    Not sure I have any control over this in the current design. May need to move to custom buttons instead of using QDialogButtonBox.

    copter wrote: »
    - When closing a file or project without saving, popup warns do I want to save the file. Buttons in this dialog are not localized. (new)
    Didn't notice anything new regarding this one, behavior is the same.

    Sorry, I didn't get to this one.


    Thanks for all your help so far.
    --Steve
  • MacTuxLinMacTuxLin Posts: 821
    edited 2012-08-02 08:17
    Updated SC .ts file.

    I've got a question ... a lot of what I have updated in previous version seems to be missing in this .ts file. Is it because of the way I saved the file? Just that, whenever I've finished, I'll close all before re-opening the .ts file to check before releasing for testing.

    Terminal.png
    1004 x 607 - 135K
  • jazzedjazzed Posts: 11,803
    edited 2012-08-02 09:28
    MacTuxLin wrote: »
    I've got a question ... a lot of what I have updated in previous version seems to be missing in this .ts file. Is it because of the way I saved the file? Just that, whenever I've finished, I'll close all before re-opening the .ts file to check before releasing for testing.

    Kenichi,

    I'm not sure the highlighted items ever had any translations.
    The font string display is yet another challenge. That comes straight out of the Qt framework.
    Are there other translations missing?
  • MacTuxLinMacTuxLin Posts: 821
    edited 2012-08-02 10:04
    Hi Steve,

    Just that I noticed this

    Find & Replace (OK).png


    so I figured the buttons should also be translated?
    540 x 170 - 25K
  • jazzedjazzed Posts: 11,803
    edited 2012-08-02 11:23
    MacTuxLin wrote: »
    ...
    so I figured the buttons should also be translated?

    That one was added manually. Qt docs call Ok and Cancel standard, but that doesn't seem very international. I'll spend time making all the OK/Cancel buttons international. It's relatively easy to do. Other things are not so easy.

    Thanks,
    --Steve
  • Daniel HarrisDaniel Harris Posts: 207
    edited 2012-08-02 11:34
    To our translators who are still "In Progress" (French, Spanish, Italian, Indian) - what is your status? Is there anything I can do to help your progress?

    A few who have completed their translations already have their hardware on the way. Don't get left behind! If I don't hear back from anybody on the "In Progress" items by August 10th, I'll open that language back up to the public. It would be awesome to see Simple IDE be multilingual with representation from all major languages.

    Also, when posting a submission, make sure you include the Translation Source (.ts) file - not just the compiled .qm binary file.

    Thank you!
  • jazzedjazzed Posts: 11,803
    edited 2012-08-02 12:25
    "Done" is relative right now, although we do have a substantial amount of the IDE translation complete.
    Copter, MacTuxLin, and I are working through some changes to make sure everything is localized.
    I still need to add the Help -> Propeller Datasheet and User Guide PDFs.

    BTW, Copter and others, please post information I can put into the Credits dialog page as thanks for your help.
  • coptercopter Posts: 36
    edited 2012-08-02 15:39
    You can just put my name into the credits without any additional info, which is Matti Korvenmaa. ;)
  • howardxuhowardxu Posts: 1
    edited 2012-08-07 01:53
    Hi,
    I am a graduated student in Taiwan.
    I would like to responible for Chinese (traditional) translation. :smile:

  • coptercopter Posts: 36
    edited 2012-08-18 09:51
    It seems that most of the translators have become inactive or is there anything happening with languages that are still in progress? Also I think that some of the languages which are marked as completed are missing latest updates?
Sign In or Register to comment.