[LB6 Action] PONS German French

Sharing and discussing custom actions for LaunchBar
ptujec
Wizard
Wizard
Posts: 321
Joined: Fri Dec 19, 2008 11:36 am
Contact:

[LB6 Action] PONS German French

Postby ptujec » Fri Apr 04, 2014 9:19 am

Image

Download here

After downloading just double click the .lbaction file and it will automatically be installed in ~/Library/Application Support/LaunchBar/Actions.

Feel free to modify and change it to your needs and liking!

You find all you need if you open the .lbaction package content:
  • Info.plist with all kind of metadata (name, author …) as well as settings wether the script should run in the background or not …
  • In Resources you find an InfoPlist.strings in "de.lproj". There is some info in that file like the bundle name and stuff you want to adjust.
    You need to put that in "en.lproj" if your system language is english. If your system language is not there you have to create the folder yourself. Look in some application packages to find how this looks in your language.
  • The important stuff is in the Scripts folder.
    - In default.js you want to adjust the which looks like this &l=defr&in=&lf=de. You can check the URL in the browser to see what you need for your languages … e.g. "&l=enfr&in=&lf=de" if you want to translate from english to french and vise versa.
    - In suggestions.js change the "?l=defr" part of the URL accordingly … in our example to "?l=enfr".
Feel free to ask if you have questions.

Also see the LaunchBar Actions Reference for more detailed documentation about the new LB actions!

Cheers

ptujec
Wizard
Wizard
Posts: 321
Joined: Fri Dec 19, 2008 11:36 am
Contact:

Re: PONS German French .lbaction (LB 6 required)

Postby ptujec » Sun Apr 13, 2014 8:43 pm

Unfortunately it broke with β3. Not sure why. Maybe someone is smart enough to fix it …

ptujec
Wizard
Wizard
Posts: 321
Joined: Fri Dec 19, 2008 11:36 am
Contact:

Re: PONS German French .lbaction (LB 6 required)

Postby ptujec » Mon Apr 14, 2014 12:25 pm



Return to “LaunchBar Actions”

Who is online

Users browsing this forum: No registered users and 2 guests