An app for travelers, language learners and bilingual couples who like to talk about their favourite films. Check out the homepage for a little blurb about the project.
The most reliable way to look up a movie’s title in a different languages is to find it on Wikipedia, then follow the links to translations of the article. This is a frustrating workflow on a smartphone, though, especially when the signal is weak. This (multi-)weekend project transforms a Wikipedia dump into a tiny SQLite file, and the MovieDict app for iOS then searches the database using Unicode-enabled full-text search.
IMDb does not support Chinese or Japanese characters (among others), and is not available offline (when traveling).
- Download and extract enwiki, zhwiki, enwiki langlinks to a folder that has roughly 100 GB of free space.
- Import the langlinks table into MySQL:
mysqladmin -uroot -p create wikidumps && mysql -Dwikidumps -uroot -p < .../enwiki-20141106-langlinks.sql
(should take about an hour). - Then take a look at the
Rakefile
. There is a task that will run the full process, but manually running things step-by-step while reading the Ruby scripts is the recommended workflow.
This is a free app with no business model, and the source code is available under the MIT license. See the LICENSE file for details.