FREEWING-JP / Build-Fritzing-1.0.0-Windows-script

Build Fritzing 1.0.3 Windows script
http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/
GNU General Public License v3.0
36 stars 7 forks source link

Cannot change interface language #24

Open martinandov opened 1 month ago

martinandov commented 1 month ago

Your script works beautifully and quite smoothly. Tested on Windows 10 on a virtual machine. The problem I have after compiling is that Fritzing, in the "Edit" meni, then "Preferences", the drop-down menu for changing the interface language is missing.

Am I missing something during compilation or am I making some other mistake?

fritzingmissing_language

FREEWING-JP commented 1 month ago

I don't know . Is the Download version availavle language settings ?

martinandov commented 1 month ago

I also don't know. I think it should be like this: language_shuld_be

harryberlin commented 1 month ago

Same here. I tried to rename the files in translation path. after that, i get the dropdown, but it's still in english. So i did copy a language file from old official version. is not working 100%, because of missing the new strings.

btw: did compile at Windows 11 Sandbox

FREEWING-JP commented 1 month ago

📝 https://github.com/fritzing/fritzing-app/issues/4069 https://github.com/search?q=repo%3Afritzing%2Ffritzing-app%20translations%20&type=code

* 3 years ago https://github.com/OlesyaGerasimenko/fritzing-app/tree/develop/translations

Edited:

martinandov commented 1 month ago

Thanks everyone for the reply. Obviously, the problem lies somewhere in the compilation, and more precisely, maybe some variable should be changed at the very beginning. I installed the "donation" version and everything is available in it. fritz_OK

If anyone is interested: https://youtu.be/epTY0I_qP2g?si=zJ0WpBX3ENLcscTY

euzenlee commented 3 weeks ago

📝 fritzing/fritzing-app#4069 https://github.com/search?q=repo%3Afritzing%2Ffritzing-app%20translations%20&type=code

8 months ago https://github.com/fritzing/fritzing-app/tree/develop/translations

FREEWING-JP commented 3 days ago

In translations folder . Rename qm_XX.qm to fritzing_XX.qm .

image

Renamed upper 4 qm files . image

FREEWING-JP commented 2 days ago

Rename BAT file . Execute in Fritzing or translations folder . (Auto detect)

fix_language.bat

@echo off
if exist translations (
  cd translations
)

if exist qt_*.qm (
  setlocal EnableDelayedExpansion
  ren qt_*.* q`_*.*
  for /f "tokens=1,2 delims=`" %%i in ('dir /b q`*.*') do (
    ren "q`%%j" "fritzing%%j"
  )
  endlocal

  echo Fixed Language translations file name .
)
pause

image