Trying to run webtrees (https://github.com/fisharebest/webtrees) on GAE. Can't get GAE to recognise .mo compiled language files. The app works OK locall via GAE SDK. I declared them as:
- url: /language/(.*.mo)
mime_type: text/plain
static_files: language/\1
upload: language/(.*.mo)
application_readable: true
I can download all .mo files OK via URL, but function in I18N.php to test which .mo files are available returns null. I'm wondering why GAE doesn't see the files even though I selected "application_readable"? Is there an issue with declaring .mo files in GAE? I noticed a mime type error on first attempt, so added the mime_type declaration.
You don't need to add an entry in the app.yaml file for application data files, they will still be uploaded but not accessible externally.
Check the path that the application is trying to read the files from. You can use
syslog(LOG_DEBUG, "....");
to put some logging statements into your code that can help you debug what might be going wrong.