Git Product home page Git Product logo

cordova-plugin-chrome-apps-i18n's People

Contributors

agrieve avatar clelland avatar jpchase avatar kamrik avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cordova-plugin-chrome-apps-i18n's Issues

Builds fails in vanilla Cordova 5.0.0 app?

Seems like a missing dependency?

:compileDebugJava
/Users/ajhomer/dpd_html5-ajhomer/cordovaPluginAnalysis/foo/platforms/android/src/org/chromium/ChromeI18n.java:45: error: package ChromeExtensionURLs does not exist
public class ChromeI18n extends CordovaPlugin implements ChromeExtensionURLs.RequestModifyInterface {
                                                                            ^
/Users/ajhomer/dpd_html5-ajhomer/cordovaPluginAnalysis/foo/platforms/android/src/org/chromium/ChromeI18n.java:65: error: cannot find symbol
    ChromeExtensionURLs chromeExtensionURLsPlugin;
    ^
  symbol:   class ChromeExtensionURLs
  location: class ChromeI18n
/Users/ajhomer/dpd_html5-ajhomer/cordovaPluginAnalysis/foo/platforms/android/src/org/chromium/ChromeI18n.java:80: error: cannot find symbol
        chromeExtensionURLsPlugin = (ChromeExtensionURLs)pm.getPlugin("ChromeExtensionURLs");
                                     ^
  symbol:   class ChromeExtensionURLs
  location: class ChromeI18n
/Users/ajhomer/dpd_html5-ajhomer/cordovaPluginAnalysis/foo/platforms/android/src/org/chromium/ChromeI18n.java:122: error: method does not override or implement a method from a supertype
    @Override
    ^
4 errors
:compileDebugJava FAILED

Unable to get translated message in iOS simulator and Android

I am unable to get this simple i18n example to work on the iOS simulator.

no-translation-ios

It appears correct when run as a Chrome App.

yes-translation-chrome

I ran the iOS WebView debugger from Safari to see what errors are happening. It seems as though the request to get messages.json is timing out, so chrome.i18n thinks there are no translated messages available.

no-translation-ios-debug

To build for iOS, I used the cca command line tool, and the platform directories appear to be correct.

no-translation-ios-build

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.