Jump to content











Photo
* * - - - 1 votes

[Suggestion] Easy Way to Translate Menu


  • Please log in to reply
5 replies to this topic

#1 Haiphong

Haiphong

    Frequent Member

  • Advanced user
  • 237 posts

Posted 04 March 2008 - 05:14 PM

Hello Everybody,

Can Anyone have an idea of How to translate menu. Actualy it's not easy to translate it,
because it's integrated in the Program. For Sample "Games and Fun" :

[process]
Add_Shortcut,StartMenu,Games and Fun
unpack,folder,sudoku.zip,true

Is there possible to build it in a File, as it is built in "BartPE" or to find it as this :

Projects\VistaPE-Core\app\Games

And rename it as this :

Projects\VistaPE-Core\app\Jeux

Thanks for your Help.

#2 Arvy

Arvy

    Frequent Member

  • Developer
  • 430 posts
  • Location:Canada, Parry Sound
  • Interests:IT, Outdoors, Horses
  •  
    Canada

Posted 05 March 2008 - 01:06 AM

Each application script adds its own entry to the [shortcut] section of the vistape.cfg file during the build process. The options appear to be either modifying the scripts themselves before the build, or modifying the vistape.cfg file after the build, but prior to ISO creation.

#3 pedrole15

pedrole15

    Silver Member

  • .script developer
  • 731 posts
  •  
    France

Posted 08 March 2008 - 01:07 AM

Hello Everybody,

Can Anyone have an idea of How to translate menu. Actualy it's not easy to translate it,
because it's integrated in the Program. For Sample "Games and Fun" :

[process]
Add_Shortcut,StartMenu,Games and Fun
unpack,folder,sudoku.zip,true

Is there possible to build it in a File, as it is built in "BartPE" or to find it as this :

Projects\VistaPE-Core\app\Games

And rename it as this :

Projects\VistaPE-Core\app\Jeux

Thanks for your Help.

I have done this for liveXP look here

#4 oliv421

oliv421
  • Members
  • 2 posts
  •  
    France

Posted 09 March 2008 - 07:40 PM

In VistaPE, it is a few different.
I have change

#category

If,#1,Equal,Desktop,Set,#2,Desktop

If,#1,Equal,QuickLaunch,Set,#2,QuickLaunch

If,#1,Equal,Autorun,Set,#2,Autorun

If,#1,Equal,AutoStart,Set,#2,Autorun

If,#2,Equal,,StrFormat,filename,%Scriptdir%,#2

by

#category

StrFormat,filename,%Scriptdir%,%Dir_Name%

If,ExistFile,"%ProjectDir%\App\FolderName.ini",IniRead,"%ProjectDir%\App\FolderName.ini","FolderName","%Dir_Name%",#2

If,#1,Equal,Desktop,Set,#2,Desktop

If,#1,Equal,QuickLaunch,Set,#2,QuickLaunch

If,#1,Equal,Autorun,Set,#2,Autorun

If,#1,Equal,AutoStart,Set,#2,Autorun

If,#2,Equal,,StrFormat,filename,%Scriptdir%,#2

Is it correct ?
Thanks

I have done this for liveXP look here



#5 pedrole15

pedrole15

    Silver Member

  • .script developer
  • 731 posts
  •  
    France

Posted 09 March 2008 - 10:38 PM

In VistaPE, it is a few different.
I have change

#category

If,#1,Equal,Desktop,Set,#2,Desktop

If,#1,Equal,QuickLaunch,Set,#2,QuickLaunch

If,#1,Equal,Autorun,Set,#2,Autorun

If,#1,Equal,AutoStart,Set,#2,Autorun

If,#2,Equal,,StrFormat,filename,%Scriptdir%,#2

by

#category

StrFormat,filename,%Scriptdir%,%Dir_Name%

If,ExistFile,"%ProjectDir%\App\FolderName.ini",IniRead,"%ProjectDir%\App\FolderName.ini","FolderName","%Dir_Name%",#2

If,#1,Equal,Desktop,Set,#2,Desktop

If,#1,Equal,QuickLaunch,Set,#2,QuickLaunch

If,#1,Equal,Autorun,Set,#2,Autorun

If,#1,Equal,AutoStart,Set,#2,Autorun

If,#2,Equal,,StrFormat,filename,%Scriptdir%,#2

Is it correct ?
Thanks

Hi oliv421
Yes it seem correct
You can try with my VistaPE Api
You add in FolderName.ini in section FolderName only the folder you want translate
It is possible to do the same for %ProgramTitle% for translate "Chess" to "Echec"
:)

#6 oliv421

oliv421
  • Members
  • 2 posts
  •  
    France

Posted 10 March 2008 - 11:00 AM

OK thanks :)

Hi oliv421
Yes it seem correct
You can try with my VistaPE Api
You add in FolderName.ini in section FolderName only the folder you want translate
It is possible to do the same for %ProgramTitle% for translate "Chess" to "Echec"
:(






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users