1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Why do they Templates & Admin Templates need to be rebuilt when importing a language?

Discussion in 'General XenForo Discussion and Feedback' started by Vincent, Jul 21, 2011.

  1. Vincent

    Vincent Well-Known Member

    Well, the title says it all.


    It doesn't make sense to me and it's time consuming :D
  2. Kier

    Kier XenForo Developer Staff Member

    Because we compile phrases into the templates for maximum run-time speed.
    Vincent and CyberAP like this.
  3. Kim

    Kim Well-Known Member

    switching your entire site from language X to language Y is going to take some doing, a small re-caching should be par for the course I would think :)
  4. Kier

    Kier XenForo Developer Staff Member

    Saving individual phrases should be relatively quick, as we keep a map of the templates in which phrases are used and only recompile those that are necessary, but a full language import is indeed a fairly major operation.
    Jeremy likes this.

Share This Page