The PortableApps.com Launcher supports multi-lingual messages to the user, and so we have some strings for translators. With the release of 2.1 coming, there are also some new strings for newly-added features.
All words starting with $ should not be changed as they are the values being passed in.
The way the code will be used is in the following form. It's easiest for me at least if you provide them in that form. (I put it in a definition list with <dl>, <dt> and <dd> for readability.)
${LangFileString} LauncherStringName "String value" ...
Strings: (code format)
${LangFileString} LauncherFileNotFound "$AppNamePortable cannot be started. You may wish to re-install to fix this issue. (ERROR: $MissingFileOrPath could not be found)" ${LangFileString} LauncherAlreadyRunning "Another instance of $AppName is already running. Please close other instances of $AppName before launching $AppNamePortable." ${LangFileString} LauncherAskCopyLocal "$AppNamePortable appears to be running from a location that is read-only. Would you like to temporarily copy it to the local hard drive and run it from there?$\n$\nPrivacy Note: If you say Yes, your personal data within $AppNamePortable will be temporarily copied to a local drive. Although this copy of your data will be deleted when you close $AppNamePortable, it may be possible for someone else to access your data later." ${LangFileString} LauncherNoReadOnly "$AppNamePortable can not run directly from a read-only location and will now close." ${LangFileString} LauncherPathTooLong "The path to $AppNamePortable is too long. Please shorten the path by eliminating some parent directories or shortening directory names." ${LangFileString} LauncherNoUNCSupport "$AppNamePortable cannot be started from a UNC path. Please map the directory to a drive letter and try again." ${LangFileString} LauncherNoSpaces "$AppNamePortable cannot run from a directory with a space in it. Please alter the current path ($EXEDIR) to remove any spaces and start the portable app again. Please see the help.html file for more information." ${LangFileString} LauncherRequiresAdmin "$AppNamePortable requires administrative privileges to run." ${LangFileString} LauncherNotAdminTryAgain "Press Retry to try authenticating again or Cancel to quit." ${LangFileString} LauncherNotAdminLimitedFunctionality "Some features of $AppNamePortable will not work if you do not run as administrator." ${LangFileString} LauncherNotAdminLimitedFunctionalityTryAgain "Press Abort to quit, Retry to try authenticating again or Ignore to continue anyway." ${LangFileString} LauncherAdminError "Unable to run as administrator, error $0." ${LangFileString} LauncherAdminLogonServiceNotRunning "$AppNamePortable requires administrative privileges, but the Windows Logon service is not running. $AppNamePortable can not start." ${LangFileString} LauncherIncompatibleMinOS "$AppName requires Windows $0 or later. This PC is running Windows $1, so $AppName can not be started." ${LangFileString} LauncherIncompatibleMaxOS "$AppName requires Windows $0 or earlier. This PC is running Windows $1, so $AppName can not be started." ${LangFileString} LauncherDirectoryMoveNotAllowed "$AppNamePortable cannot be started, as its path has changed since it was last started from $LastDirectory to $CurrentDirectory." ${LangFileString} LauncherDirectoryMoveWarn "The path to $AppNamePortable has changed, since it was last started, from $LastDirectory to $CurrentDirectory. Moving portable apps like this is not advised, and some features may not work. Are you sure you want to continue?" ${LangFileString} LauncherAlreadyStarting "Another instance of $AppNamePortable is starting. Please wait for it to start before launching it again." ${LangFileString} LauncherAlreadyStopping "Another instance of $AppNamePortable is currently closing. Please wait for it to finish before launching it again." ${LangFileString} LauncherCrashCleanup "$AppNamePortable did not close properly last time it was run and will now clean up. Please then start $AppNamePortable again manually." ${LangFileString} LauncherNoJava "$AppName requires a Java Runtime Environment. Please install jPortable from https://portableapps.com/jportable and then try again." ${LangFileString} LauncherNoJavaDownload "$AppName requires a Java Runtime Environment. Would you like to automatically download and install jPortable on your device now?" ${LangFileString} LauncherNoJavaCancelled "$AppNamePortable cannot run without a Java Runtime Environment and will now exit."
Strings: (readable format)
- LauncherFileNotFound
- $AppNamePortable cannot be started. You may wish to re-install to fix this issue. (ERROR: $MissingFileOrPath could not be found)
- LauncherAlreadyRunning
- Another instance of $AppName is already running. Please close other instances of $AppName before launching $AppNamePortable.
- LauncherAskCopyLocal
- $AppNamePortable appears to be running from a location that is read-only. Would you like to temporarily copy it to the local hard drive and run it from there?$\n$\nPrivacy Note: If you say Yes, your personal data within $AppNamePortable will be temporarily copied to a local drive. Although this copy of your data will be deleted when you close $AppNamePortable, it may be possible for someone else to access your data later.
- LauncherNoReadOnly
- $AppNamePortable can not run directly from a read-only location and will now close.
- LauncherPathTooLong
- The path to $AppNamePortable is too long. Please shorten the path by eliminating some parent directories or shortening directory names.
- LauncherNoUNCSupport
- $AppNamePortable cannot be started from a UNC path. Please map the directory to a drive letter and try again.
- LauncherNoSpaces
- $AppNamePortable cannot run from a directory with a space in it. Please alter the current path ($EXEDIR) to remove any spaces and start the portable app again. Please see the help.html file for more information.
- LauncherRequiresAdmin
- $AppNamePortable requires administrative privileges to run.
- LauncherNotAdminTryAgain
- Press Retry to try authenticating again or Cancel to quit.
- LauncherNotAdminLimitedFunctionality
- Some features of $AppNamePortable will not work if you do not run as administrator.
- LauncherNotAdminLimitedFunctionalityTryAgain
- Press Abort to quit, Retry to try authenticating again or Ignore to continue anyway.
- LauncherAdminError
- Unable to run as administrator, error $0.
- LauncherAdminLogonServiceNotRunning
- $AppNamePortable requires administrative privileges, but the Windows Logon service is not running. $AppNamePortable can not start.
- LauncherIncompatibleMinOS
- $AppName requires Windows $0 or later. This PC is running Windows $1, so $AppName can not be started.
- LauncherIncompatibleMaxOS
- $AppName requires Windows $0 or earlier. This PC is running Windows $1, so $AppName can not be started.
- LauncherDirectoryMoveNotAllowed
- $AppNamePortable cannot be started, as its path has changed since it was last started from $LastDirectory to $CurrentDirectory."
- LauncherDirectoryMoveWarn
- The path to $AppNamePortable has changed, since it was last started, from $LastDirectory to $CurrentDirectory. Moving portable apps like this is not advised, and some features may not work. Are you sure you want to continue?"
- LauncherAlreadyStarting
- Another instance of $AppNamePortable is starting. Please wait for it to start before launching it again.
- LauncherAlreadyStopping
- Another instance of $AppNamePortable is currently closing. Please wait for it to finish before launching it again.
- LauncherCrashCleanup
- $AppNamePortable did not close properly last time it was run and will now clean up. Please then start $AppNamePortable again manually.
- LauncherNoJava
- $AppName requires a Java Runtime Environment. Please install jPortable from https://portableapps.com/jportable and then try again.
- LauncherNoJavaDownload
- $AppName requires a Java Runtime Environment. Would you like to automatically download and install jPortable on your device now?
- LauncherNoJavaCancelled
- $AppNamePortable cannot run without a Java Runtime Environment and will now exit.
Translation status:
All translations are available here.
- English: complete (fancy that)
- Armenian: complete
- Bulgarian: incomplete (need 2.1 strings)
- Danish: complete
- Dutch: complete
- Estonian: complete
- Finnish: incomplete (need last six 2.1 strings)
- French: incomplete (need last six 2.1 strings)
- Galician: incomplete (need 2.1 strings)
- German: incomplete (need Java strings)
- Hebrew: incomplete (need last six 2.1 strings)
- Hungarian: incomplete (need Java strings)
- Indonesian: complete
- Italian: incomplete (need from LauncherNoUNCSupport onwards)
- Japanese: incomplete (need last six 2.1 strings)
- Polish: incomplete (need 2.1 strings)
- Portuguese: incomplete (need Java strings)
- PortugueseBR: complete
- Romanian: complete
- Simplified Chinese: incomplete (need last six 2.1 strings)
- Slovenian: complete
- Spanish: incomplete (need 2.1 strings)
- Sundanese: complete
- Swedish: incomplete (need last six 2.1 strings)
- Thai: incomplete (need last six 2.1 strings)
- Traditional Chinese: incomplete (need last six 2.1 strings)
- Turkish: incomplete (need 2.1 strings)
- Vietnamese: complete
- Armenian: complete, but not included due to missing support in NSIS Portable
- Others: no translations yet, please translate!
Encoding: the PortableApps.com Launcher is entirely Unicode and so all translations should be encoded as Unicode rather than a language codepage.
Updates:
2010-03-17: initial strings (2.0)
2010-08-21: new strings: LauncherIncompatibleMinOS, LauncherIncompatibleMaxOS, LauncherDirectoryMoveNotAllowed, LauncherDirectoryMoveWarn
2010-10-23: OS strings changed
2011-04-30: new strings: LauncherAlreadyStarting, LauncherAlreadyStopping, LauncherCrashCleanup
2011-05-07: new strings, believed final for 2.1: LauncherNoJava, LauncherNoJavaDownload, LauncherNoJavaCancelled
I've taken John's modification to the OS strings, so $1 is now available as the current OS in that case. This means that Armenian, German and Slovenian strings for LauncherIncompatibleMinOS and LauncherIncompatibleMaxOS are now out of date. They will work fine, but John's point is correct and so they should be updated.
I've copied the 2.1 strings (the last four) from Portuguese to PortugueseBR; it would be good if someone familiar with Brazilian Portuguese could check and offer any improvements to this.
Thanks to all the translators. Sorry I haven't committed your work before, I just hadn't got to it. It's not like it takes long to put it in...
I still haven't put in Armenian (sorry, hrantohanyan) because the language file isn't supported in the released NSIS Portable which PAL depends on.
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
Nevertheless i updated Armenian translation.
I've committed that now. I just have a few points I'd like to ask about:
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
I think the following should be rephrased as "press retry to try again" is using a term to explain the same term: