@@ -0,0 +1,895 @@
+package cgeo.geocaching.utils;%0A%0Aimport java.net.URLEncoder;%0A%0A/**%0A * Utilities used for translating%0A */%0Apublic final class TranslationUtils %7B%0A%0A    private static final String translationWebsite = %22http://translate.google.com/%22;%0A    private static final String translationAutoSelect = %22#auto%22;%0A    private static final String translationFieldSeparator = %22%7C%22;%0A%0A    /**%0A     * Build a URI for Google Translate%0A     *%0A     * @param toLang%0A     *            The two-letter lowercase ISO language codes as defined by ISO 639-1%0A     * @param text%0A     *            The text to be translated%0A     * @return URI ready to be parsed%0A     */%0A    public static String buildTranslationURI(final String toLang, final String text) %7B%0A        return translationWebsite + translationAutoSelect + translationFieldSeparator + toLang + translationFieldSeparator + URLEncoder.encode(text).replace(%22+%22, %22%2520%22);%0A    %7D%0A%0A%7D%0A

Add translation utility class. Adds method to build a URI for Google Translate.