[Launch]
ProgramExecutable=Stellarium\stellarium.exe
WorkingDirectory=%PAL:AppDir%\Stellarium
DirectoryMoveOK=yes
SupportsUNC=yes
SplashTime=1000

[DirectoriesMove]
Stellarium=%APPDATA%\Stellarium
StellariumLocal=%LOCALAPPDATA%\Stellarium

[DirectoriesCleanupIfEmpty]
1=%DOCUMENTS%\My Pictures\Stellarium
2=%USERPROFILE%\My Pictures\Stellarium

[FileWrite1]
Type=ConfigWrite
File=%PAL:DataDir%\Stellarium\config.ini
Entry='sky_locale                             = '
Value=%PAL:LanguageCustom%

[FileWrite2]
Type=ConfigWrite
File=%PAL:DataDir%\Stellarium\config.ini
Entry='app_locale                             = '
Value=%PAL:LanguageCustom%

[FileWrite3]
Type=ConfigWrite
File=%PAL:DataDir%\Stellarium\config.ini
Entry='screenshot_dir                         = '
Value=%PortableApps.comPictures%

[Language]
Base=%PortableApps.comLocaleglibc%
CheckIfExists=%PAL:AppDir%\Stellarium\translations\stellarium\*.qm
DefaultIfNotExists=en

[LanguageFile]
Type=ConfigRead
File=%PAL:DataDir%\Stellarium\config.ini
Key='sky_locale                             = '

[LanguageStrings]
no=nb