MoI discussion forum
MoI discussion forum

Full Version: Parametric design in MoI?

Show messages:  1-2  …  163-182  183-202  203-222  223-242  243-262  263-282  283-302  …  903-912

From: bemfarmer
4 May 2016   [#223] In reply to [#222]
Pilou's lang.js file is NOT modified.

I accessed nodeeditor using customui, not shortcut key.
RU also works fine.

- Brian









Image Attachments:
core_subdirectory_contents.png  my_customui_subdirectory_contents.png  nodeeditor_directory_contents.png  Part_of_my_MoI 3.0_subdirectory.png 


From: bemfarmer
4 May 2016   [#224] In reply to [#223]
Shortcut key also works:
My shortcut key for nodeeditor:

Ctrl+Alt+N moi.ui.createDialog( 'nodeeditor/index.html', 'resizeable,defaultWidth:680,defaultHeight:420', moi.ui.mainWindow )

#######

Also made a copy of index.html named indexFR.html, with FR instead of EN the only change, also placed in nodeeditor subdirectory.

My new test shortcut key for French is:

Ctrl+Alt+Z moi.ui.createDialog( 'nodeeditor/indexFR.html', 'resizeable,defaultWidth:680,defaultHeight:420', moi.ui.mainWindow )

Hope some of this helps.

- Brian
From: Frenchy Pilou (PILOU)
4 May 2016   [#225] In reply to [#224]
Thx for all precision!
But alas mystery is more more curious! :)
Bride between French version don't want to work for me!

All was working fine for the Elephant 1 !
From: bemfarmer
4 May 2016   [#226] In reply to [#225]
I was able to re-create the failure of the French language to appear, by
using the WRONG lang.js file.

So I would say to triple check that the Pilou lang.js file (which includes French words :-)), is
contained in the \core subdirectory.

- Brian
From: Max Smirnov (SMIRNOV)
4 May 2016   [#227]
Today I wrote a Line node. It's not so simple as it looks :)


From: James (JFH)
4 May 2016   [#228] In reply to [#227]
>> Today I wrote a Line node. It's not so simple as it looks

We are all aware of you're herculean efforts.
Be assured they do not go unappreciated.

Keep it up

- James
From: Frenchy Pilou (PILOU)
4 May 2016   [#229]
Seems solved but very curious!

I must add the French lines dictionnary inside the EN part !

Moi is in French
My index html is lang.set("FR");
My lang.js is var lang = { LANGUAGE: "FR" }

Does all that is normal ???
image of the lang.js


From: bemfarmer
4 May 2016   [#230] In reply to [#229]
Hi Pilou,

"My index html is lang.set("FR");" <<This is correct.>>

"My lang.js is var lang = { LANGUAGE: "FR" } " <<<This is "incorrect." Leave it as: var lang = { LANGUAGE: "EN" }>>>

I temporarily went to MoI Options, and edited the moi.ini file to read, under [UI] as Language=French
With index html: lang.set("FR");, and leaving your lang.js as downloaded, with var lang = { LANGUAGE: "EN" }
no other modifications were needed to get French Node language.
There is no need to add the French words to the EN section, lines 159+ in your post.

- Brian
(These are my personal observations and tests and opinions:-)
From: Max Smirnov (SMIRNOV)
5 May 2016   [#231]
Hi Pilou

Check all js files for another lang.set('EN') call. It seems like you accidentally inserted this line somewhere in the code.
From: Frenchy Pilou (PILOU)
5 May 2016   [#232] In reply to [#231]
<< Check all js files for another lang.set('EN') call
I have checked that: no such thing is existing! :)
From: Max Smirnov (SMIRNOV)
5 May 2016   [#233] In reply to [#232]
Pilou, could you send all nodeedit files to me?
From: Frenchy Pilou (PILOU)
5 May 2016   [#234] In reply to [#233]
@Max: Sure!
Here the complete folder nodeeditor who is working! (so with 2 "French dictionnaries" as shown on my image above inside the file lang.js)
http://we.tl/TwsT35rm6z till 12 may 2016

Of course all translations of nodes and other things are not yet made! (All is in Wip building)
but with this yet made and this curious lang.js all works fine in French!
From: Max Smirnov (SMIRNOV)
5 May 2016   [#235]
One more node added - TextArray
It converts text data to pointarray. For each point can be set upto six values: x, y, z, x-rotation angle, y-rotation angle, z-rotation angle.
From: Max Smirnov (SMIRNOV)
5 May 2016   [#236] In reply to [#234]
Hi Pilou,

I just changed language to FR and deleted all translations in EN. Everything works great.
Try this.
From: Frenchy Pilou (PILOU)
5 May 2016   [#237] In reply to [#236]
@Max
This last one with your file works fine!

Why when it's me that was making the same don't working stay a mystery!

I will now continue the translation more serenely! :)

Seems your new functions will delight lovers of Parametric forms!
From: Frenchy Pilou (PILOU)
5 May 2016   [#238]
Actuals nodes! All works fine except this!

Translation of "Clean" don't work! Where is it?


From: bemfarmer
5 May 2016   [#239] In reply to [#238]
basic.js has "Clean" on line 297.
Test change to Cleeen confirms:-)
- Brian

nettoyer?
From: Frenchy Pilou (PILOU)
6 May 2016   [#240]
French version of 0.5
http://moiscript.weebly.com/elephant-systegraveme-nodal.html
From: Max Smirnov (SMIRNOV)
6 May 2016   [#241] In reply to [#240]
Hi Pilou,

Thank you for this French package. But I would like to give you a couple of advices for a future releases.
- I found few backup files and obsolete nodes in your package. It will be better if you will use my latest packages as is. Just add translation to lang.js. The next version will switch language automatically depending of the interface settings. So no need to change lang.set parameters.
- Don't translate strings like Basic/Constant, Factories/Circular Array etc. It's a waste of time, because it is just a debug info, which shouldn't be translated. I'll remove it in the future.

P.S. I'll fix that "Clean" bug in the next beta release. Don't fix it directly by changing the word in .js file.
From: Max Smirnov (SMIRNOV)
6 May 2016   [#242]
Just made a significant changes in translation engine to stop that translation hell. Now all labels and node titles are stored in .nod files with english names (with the exception of manually renamed nodes). The script will make all translations on the fly.
Waiting for a bug reports :)

Show messages:  1-2  …  163-182  183-202  203-222  223-242  243-262  263-282  283-302  …  903-912