Giter VIP home page Giter VIP logo

Comments (5)

natehardison avatar natehardison commented on September 28, 2024

Would it be able to extract files from apps placed in INSTALLED_APPS? One
conversation we've had is about making the theme an app.

On Thursday, July 18, 2013, Wentao Han wrote:

The current theme mechanism puts theme-related files in themes/ directory
which is in the same parent directory as edx-platform. Pybabel cannot
extract strings from directories outside edx-platform.


Reply to this email directly or view it on GitHubhttps://github.com/edx/edx-platform/issues/434
.

Nate

from edx-platform.

hanwentao avatar hanwentao commented on September 28, 2024

Where is INSTALLED_APPS? It's OK if it is under edx-platform/.

from edx-platform.

natehardison avatar natehardison commented on September 28, 2024

Hmm, that's not necessarily the case. INSTALLED_APPS is a list of Python
paths to Python packages that are on PYTHON_PATH, which isn't just
edx-platform. See
https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps for more.

And I don't totally understand the issue here. We can still use the current
internationalization functions in our theme templates. Is the extraction
just an automated process to make internationalization easier?

Nate

On Thu, Jul 18, 2013 at 8:29 PM, Wentao Han [email protected]:

Where is INSTALLED_APPS? It's OK if it is under edx-platform/.


Reply to this email directly or view it on GitHubhttps://github.com/edx/edx-platform/issues/434#issuecomment-21229647
.

from edx-platform.

hanwentao avatar hanwentao commented on September 28, 2024

Yes. But the i18n extraction tool edx-platform/i18n/extract.py only works on files under edx-platform/ no matter how I changed edx-platform/conf/locale/babel.cfg.

from edx-platform.

singingwolfboy avatar singingwolfboy commented on September 28, 2024

I'm closing this issue for now. We're turning off Github Issues, because there are too many different places that people can go to ask for help. By reducing the number of places to ask for help, we're making it easier for knowledgable people to find people to help, so that everyone can help each other more effectively. If you still need help, try asking on our mailing lists or creating an issue on our public JIRA issue tracker.

from edx-platform.

Related Issues (20)

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.