-
-
Notifications
You must be signed in to change notification settings - Fork 57
Language creation (old methods)
-
Open WinPaletter > Settings > Language > Language Developing Tools > Create\Modify Language Files (Go)
-
You can do one of these two options:
- Press on
Generate New (English) only
and save JSON file as you want anywhere, then you can modify the JSON file by a Code\Text Editor (VSCode, Notepad ++, ...)
or
-
Press on
Generate New (English) and Open it
and save JSON file as you want anywhere. You will find the JSON file is deserialized into a tree node inside the application.
- Press on
Ignore\Skip this if you can't\won't use a code\text editor
We will use VSCode for example
-
Modify the strings in the right part colored in orange
-
Never modify name of a variable in the left part colored in blue as this will lead to errors
-
In
Information
's part,righttoleft
can be"righttoleft": false
or"righttoleft": true
(Not TRUE or True, keep it the same as explained before) -
Don't remove or modify brackets (
{0}
), slashes (\
or/
) or quotation marks ("
), keep them consistent with your new translation.For example:
There are {0} files
is translated into Arabic like that:يوجد {0} ملفات
-
Load your language file as explained here to test it.
Ignore this if you prefer a code\text editor
-
Open WinPaletter > Settings > Language > Language Developing Tools > Create\Modify Language Files (Go) > Press on
Generate New (English) and Open it
and save JSON file as you want anywhere, or press onOpen From
. You will find the JSON file is deserialized into a tree node inside the application. -
JSON file is composed of three main regions: Information, Global Strings & Forms Strings:
-
Information consists of the translator name, language and other important data used for identification of your file.
-
Global Strings: contains text inside the code (For example: the strings used in messages boxes, ...)
-
Forms Strings: contains text of the controls inside the form.
-
-
How to modify contents?
-
Navigate through nodes until you reach the end, like this screenshot:
-
You will find two textboxes: (Old Value) & (New Value), modify the contents of New Value's textbox and press on
Submit Change
-
Navigate to the following nodes, and so on ...
-
When you finish, press on
Save As ...
and close the form
-
-
Load your language file as explained here to test it.
-
Important notes:
-
In
Information\righttoleft
's Section, only use True or False -
Language Snippets used to add values like name, code or layout of a language (load these snippets when you are in
Information\lang
,Information\langcode
&Information\righttoleft
) -
Numbers in Curly brackets should be left unchanged.
-
For example:
There are {0} files
is translated into Arabic like that:يوجد {0} ملفات
-
-
Open WinPaletter > Settings > Language > Language Developing Tools > Update JSON Language File (Go)
-
Open an old JSON file (That you want to be updated)
-
Open an updated JSON or Generate New English
Recommended
-
Press on
Save As ...
and the updated file will be generated. -
Modify the newly generated file by any method you like (explained above: code editor or WinPaletter itself)
-
Navigate through all parts of the file, you will find new entries added to the file with a different language (Mainly English). Modify them and save the file.
Never forget to check for "Information"'s section as it will be overwritten by other values everytime you do a language file update
-
Load your language file as explained here to test it.
This wiki is consistent with WinPaletter 1.0.8.0 and later
- Main form parts
- Color picker
- Palette generator
- Skeleton of a feature modification
- How to design and apply a theme
- Theme info
- Windows colors and theme
- LogonUI screen
- Classic colors
- Cursors
- Consoles (Command Prompt and PowerShell)
- Windows Terminal
- Metrics and fonts
- Wallpaper
- Windows Effects
- Windows switcher (Alt+Tab appearance)
- Screen Saver
- Sounds
- WinPaletter application theme
- Basics
- Design themes to be uploaded to servers\GitHub repositories
- Upload themes to WinPaletter Store repository to be public to everyone
Optional
Create your own server\GitHub repository for hosting themesOptional
Add new themes sources to your current WinPaletter setup
- Disable Explorer restart
- Advanced options to patch PE files
- Theme log verbose level
- Synchronize ExplorerPatcher settings with WinPaletter preview
- Delay applying of Metrics and Fonts
- Apply preferences to all users and LogonUI screen
- Disable cursors rendering or reset them
- Use offline folders as sources for themes in WinPaletter Store