The Weblate Manual 4.8
caches parsed templates and avoids the need to do parsing with every single request. You can configure it using the following snippet (the loaders setting is important here): TEMPLATES = [ { template.backends.django.DjangoTemplates", "DIRS": [ os.path.join(BASE_DIR, "templates"), ], "OPTIONS": { "context_processors": [ "django.contrib See also django.template.loaders.cached.Loader [https://docs.djangoproject.com/en/stable/ref/templates/api/#django.template.loaders.cached.Loader] Running maintenance tasks For optimal performance0 码力 | 766 页 | 10.39 MB | 1 年前3The Weblate Manual 4.8.1
caches parsed templates and avoids the need to do parsing with every single request. You can configure it using the following snippet (the loaders setting is important here): TEMPLATES = [ { template.backends.django.DjangoTemplates", "DIRS": [ os.path.join(BASE_DIR, "templates"), ], "OPTIONS": { "context_processors": [ "django.contrib See also django.template.loaders.cached.Loader [https://docs.djangoproject.com/en/stable/ref/templates/api/#django.template.loaders.cached.Loader] Running maintenance tasks For optimal performance0 码力 | 772 页 | 10.93 MB | 1 年前3The Weblate Manual 4.7
caches parsed templates and avoids the need to do parsing with every single request. You can configure it using the following snippet (the loaders setting is important here): TEMPLATES = [ { template.backends.django.DjangoTemplates", "DIRS": [ os.path.join(BASE_DIR, "templates"), ], "OPTIONS": { "context_processors": [ "django.contrib See also django.template.loaders.cached.Loader [https://docs.djangoproject.com/en/stable/ref/templates/api/#django.template.loaders.cached.Loader] Running maintenance tasks For optimal performance0 码力 | 753 页 | 11.37 MB | 1 年前3The Weblate Manual 4.7.2
caches parsed templates and avoids the need to do parsing with every single request. You can configure it using the following snippet (the loaders setting is important here): TEMPLATES = [ { template.backends.django.DjangoTemplates", "DIRS": [ os.path.join(BASE_DIR, "templates"), ], "OPTIONS": { "context_processors": [ "django.contrib See also django.template.loaders.cached.Loader [https://docs.djangoproject.com/en/stable/ref/templates/api/#django.template.loaders.cached.Loader] Running maintenance tasks For optimal performance0 码力 | 757 页 | 11.37 MB | 1 年前3The Weblate Manual 4.7.1
caches parsed templates and avoids the need to do parsing with every single request. You can configure it using the following snippet (the loaders setting is important here): TEMPLATES = [ { template.backends.django.DjangoTemplates", "DIRS": [ os.path.join(BASE_DIR, "templates"), ], "OPTIONS": { "context_processors": [ "django.contrib See also django.template.loaders.cached.Loader [https://docs.djangoproject.com/en/stable/ref/templates/api/#django.template.loaders.cached.Loader] Running maintenance tasks For optimal performance0 码力 | 757 页 | 11.37 MB | 1 年前3The Weblate Manual 4.9
caches parsed templates and avoids the need to do parsing with every single request. You can configure it using the following snippet (the loaders setting is important here): TEMPLATES = [ { template.backends.django.DjangoTemplates", "DIRS": [ os.path.join(BASE_DIR, "templates"), ], "OPTIONS": { "context_processors": [ "django.contrib See also django.template.loaders.cached.Loader [https://docs.djangoproject.com/en/stable/ref/templates/api/#django.template.loaders.cached.Loader] Running maintenance tasks For optimal performance0 码力 | 779 页 | 10.94 MB | 1 年前3The Weblate Manual 4.9.1
caches parsed templates and avoids the need to do parsing with every single request. You can configure it using the following snippet (the loaders setting is important here): TEMPLATES = [ { template.backends.django.DjangoTemplates", "DIRS": [ os.path.join(BASE_DIR, "templates"), ], "OPTIONS": { "context_processors": [ "django.contrib See also django.template.loaders.cached.Loader [https://docs.djangoproject.com/en/stable/ref/templates/api/#django.template.loaders.cached.Loader] Running maintenance tasks For optimal performance0 码力 | 778 页 | 10.95 MB | 1 年前3The Weblate Manual 3.10.1
main.c -o po/hello.pot Then you can update individual translation files to match newly created templates (this includes reordering the strings to match new template): $ msgmerge --previous --update po/cs : "password" WEBLATE_MT_SAP_USE_MT: 1 Authentication settings LDAP WEBLATE_AUTH_LDAP_SERVER_URI WEBLATE_AUTH_LDAP_USER_DN_TEMPLATE WEBLATE_AUTH_LDAP_USER_ATTR_MAP WEBLATE_AUTH_LDAP_BIND_DN W LDAP authentication configuration. Example for direct bind: environment: WEBLATE_AUTH_LDAP_SERVER_URI: ldap://ldap.example.org WEBLATE_AUTH_LDAP_USER_DN_TEMPLATE: uid=% (user)s,ou=People,dc=example0 码力 | 555 页 | 8.28 MB | 1 年前3The Weblate Manual 3.10.3
main.c -o po/hello.pot Then you can update individual translation files to match newly created templates (this includes reordering the strings to match new template): $ msgmerge --previous --update po/cs : "password" WEBLATE_MT_SAP_USE_MT: 1 Authentication settings LDAP WEBLATE_AUTH_LDAP_SERVER_URI WEBLATE_AUTH_LDAP_USER_DN_TEMPLATE WEBLATE_AUTH_LDAP_USER_ATTR_MAP WEBLATE_AUTH_LDAP_BIND_DN W LDAP authentication configuration. Example for direct bind: environment: WEBLATE_AUTH_LDAP_SERVER_URI: ldap://ldap.example.org WEBLATE_AUTH_LDAP_USER_DN_TEMPLATE: uid=% (user)s,ou=People,dc=example0 码力 | 560 页 | 8.57 MB | 1 年前3The Weblate Manual 3.10.2
main.c -o po/hello.pot Then you can update individual translation files to match newly created templates (this includes reordering the strings to match new template): $ msgmerge --previous --update po/cs : "password" WEBLATE_MT_SAP_USE_MT: 1 Authentication settings LDAP WEBLATE_AUTH_LDAP_SERVER_URI WEBLATE_AUTH_LDAP_USER_DN_TEMPLATE WEBLATE_AUTH_LDAP_USER_ATTR_MAP WEBLATE_AUTH_LDAP_BIND_DN W LDAP authentication configuration. Example for direct bind: environment: WEBLATE_AUTH_LDAP_SERVER_URI: ldap://ldap.example.org WEBLATE_AUTH_LDAP_USER_DN_TEMPLATE: uid=% (user)s,ou=People,dc=example0 码力 | 560 页 | 8.57 MB | 1 年前3
共 302 条
- 1
- 2
- 3
- 4
- 5
- 6
- 31