MoI discussion forum
MoI discussion forum

Full Version: Parametric design in MoI?

Show messages:  1-13  …  154-173  174-193  194-213  214-233  234-253  254-273  274-293  …  894-912

From: Frenchy Pilou (PILOU)
3 May 2016   [#214] In reply to [#213]
<< change lang.set("EN") line in index.html file
Seems not sufficient! "FR" same result! :)
From: Max Smirnov (SMIRNOV)
3 May 2016   [#215] In reply to [#214]
Just checked it. Works good. Send your translation file to me.

From: Frenchy Pilou (PILOU)
3 May 2016   [#216]
Animation is progessing!

@Max here the
File lang.js with "EN", but put "FR" change nothing even input "FR" inside the Index.html !
lang.set("FR");
https://we.tl/dNcE2OGmpu valuable till 10 / May / 2016
From: Max Smirnov (SMIRNOV)
4 May 2016   [#217] In reply to [#216]
Hi Pilou
Everything works good. I haven't any idea what is wrong with your settings.




From: bemfarmer
4 May 2016   [#218] In reply to [#217]
I tried out the French language version of Pilou.

1. Placed Pilou's lang.js file in the core subdirectory, after renaming the older lang.js file to langOlder.js

2. Changed EN to FR in the index.html under function init(), (As per Max's initFR.PNG), with notepad++, in the nodeeditor directory.

Success

- Brian

Then changed FR back to EN.
After re-opening MoI, pressing F5 does not seem to be necessary.


Switching languages by //Commenting will work.

function init()
{
//lang.set("EN");
lang.set("FR");
//lang.set("RU");
From: Frenchy Pilou (PILOU)
4 May 2016   [#219]
A big mystery!
Shortcut is this one ?
moi.ui.createDialog( 'nodeeditor/index.html', 'resizeable,defaultWidth:680,defaultHeight:420', moi.ui.mainWindow )

Can you give me the list of the \ui\nodeeditor\...
From: Frenchy Pilou (PILOU)
4 May 2016   [#220] In reply to [#218]
@Bemfarmer

<< 1. Placed Pilou's lang.js file in the core subdirectory, after renaming the older lang.js file to langOlder.js

<< 2. Changed EN to FR in the index.html under function init(), (As per Max's initFR.PNG), with notepad++, in the nodeeditor directory.

<< Success

Seems you don't change "EN" to "FR" inside my lang.js file posted : var lang = { LANGUAGE: "EN" } does this exact ?
From: Max Smirnov (SMIRNOV)
4 May 2016   [#221] In reply to [#220]
lang.set() command overrides any setting of the lang value in lang.js file
From: Frenchy Pilou (PILOU)
4 May 2016   [#222]
I have reloaded all the project and same result! :(
So a vicious glitch on my computer! :)
Surrely a little error syntax somewhere!
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?

Show messages:  1-13  …  154-173  174-193  194-213  214-233  234-253  254-273  274-293  …  894-912