-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This page has not been translated to Default language yet! No Fallback translations found. #47
Comments
Yes, well, this is still something I'm debating myself and depends on settings. Basically when you have selected language, it uses:
So basically you are editing different version of the file. The warning is there to prevent you from accidentally editing wrong file. Your There are some configuration options to make admin clearer based on what you want; we need to document those. All of this is confusing, which is why I've been trying to figure out a way to make it easier in admin to understand what's going on. All good suggestions are welcome. :) |
Thanks for the reply. I can totally imagine that it is tricky to implement:). So there are a few issues I see:
default.en.md - and no content shows up in Admin even if I switch from Default to English. In this case I assume my english file should be pulled in and the contents shown. So that seems like a bug if in Admin I cannot edit my existing default.en.md (even if I go to expert mode, it is empty). The file however exists on server and shows up fine on the web.
Hope any of this helps. Otherwise, I think it is quite easy to understand the |
Can you paste your system configuration file here? |
absolute_urls: true
param_sep: ':'
wrapped_site: false
reverse_proxy_setup: false
force_ssl: false
force_lowercase_urls: true
username_regex: '^[a-z0-9_-]{3,16}$'
pwd_regex: '(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}'
intl_enabled: true
languages:
supported:
- en
include_default_lang: false
pages_fallback_only: false
translations: true
translations_fallback: true
session_store_active: false
http_accept_language: false
override_locale: false
home:
alias: /p
hide_in_urls: true
pages:
theme: quark
order:
by: default
dir: asc
list:
count: 20
dateformat:
short: 'jS M Y'
long: 'F jS \a\t g:ia'
publish_dates: true
process:
markdown: true
twig: false
twig_first: false
never_cache_twig: false
events:
page: true
twig: true
markdown:
extra: false
auto_line_breaks: false
auto_url_links: false
escape_markup: false
special_chars:
'>': gt
'<': lt
types:
- html
- htm
- xml
- txt
- json
- rss
- atom
expires: 604800
last_modified: false
etag: false
vary_accept_encoding: false
redirect_default_route: false
redirect_default_code: '302'
redirect_trailing_slash: true
ignore_files:
- .DS_Store
ignore_folders:
- .git
- .idea
ignore_hidden: true
url_taxonomy_filters: true
frontmatter:
process_twig: false
ignore_fields:
- form
- forms
cache:
enabled: false
check:
method: file
driver: auto
prefix: g
purge_at: '0 4 * * *'
clear_at: '0 3 * * *'
clear_job_type: standard
clear_images_by_default: true
cli_compatibility: false
lifetime: 604800
gzip: false
allow_webserver_gzip: false
twig:
cache: true
debug: true
auto_reload: true
autoescape: false
undefined_functions: true
undefined_filters: true
umask_fix: false
assets:
css_pipeline: false
css_pipeline_include_externals: true
css_pipeline_before_excludes: true
css_minify: true
css_minify_windows: false
css_rewrite: true
js_pipeline: false
js_pipeline_include_externals: true
js_pipeline_before_excludes: true
js_minify: true
enable_asset_timestamp: false
collections:
jquery: 'system://assets/jquery/jquery-2.x.min.js'
errors:
display: 1
log: true
log:
handler: file
syslog:
facility: local6
debugger:
enabled: true
shutdown:
close_connection: true
twig: true
images:
default_image_quality: 85
cache_all: false
cache_perms: '0755'
debug: false
auto_fix_orientation: false
seofriendly: false
media:
enable_media_timestamp: false
auto_metadata_exif: false
upload_limit: 2097152
session:
enabled: true
initialize: true
timeout: 1800
name: g-s-themes
uniqueness: path
secure: false
httponly: true
split: true
gpm:
releases: stable
method: auto
verify_peer: true
official_gpm_only: true
accounts:
type: data
storage: file
strict_mode:
yaml_compat: true
twig_compat: false |
same issue here. I have downgraded the admin plugin to 1.9.12. |
No need to downgrade admin plugin, just go to Flex Objects plugin settings and disable pages there. |
There was an issue with: system.yaml languages:
include_default_lang_file_extension: false This was fixed in 38db3d0 |
Umm, there are more cases which should be fixed. :) |
I've simplified the admin to handle correctly the different file formats for the default language. This requires the upcoming RC.16 Grav and plugin updates. I have removed the default language from the admin (except for the popup in list view, which basically represents file extensions) and I'm just using the name of the default language instead. The feature relays on languages:
include_default_lang_file_extension: [true|false] With both settings and assuming that If if In both cases, there's a message if both files are found. |
I have a site in English with no other translations yet ready. When I turn on Flex Pages (Admin) and then go to edit a page, no content from the default.en.md is shown and I get the message: "This page has not been translated to Default language yet! No Fallback translations found."
When I switch from Default to English in Admin, it still shows nothing in the Admin area. The site front end shows up fine.
I assume, this is not an issue, but perhaps you can tell me that I am doing something wrong :).
Using RC3 pre-release.
The text was updated successfully, but these errors were encountered: