Skip to content
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

Documentation Error/Notices if locale is de_DE #411

Open
Ghardo opened this issue Apr 8, 2024 · 3 comments
Open

Documentation Error/Notices if locale is de_DE #411

Ghardo opened this issue Apr 8, 2024 · 3 comments

Comments

@Ghardo
Copy link

Ghardo commented Apr 8, 2024

When visiting the site https://zf1future.com with locale "de_DE" they are some notices and warnings.
This caused a broken website and documentation.
This Issue can be fixed by setting the locale in the cookie data to "en".
After deleting the cookie, a new one is created which again has de_DE locale and everything is broken again

Notice: The language 'de_DE' has to be added before it can be used. in /var/www/tiger-vendor/vendor/shardj/zf1-future/library/Zend/Translate/Adapter.php on line 445

Notice: No translation for the language 'de' available. in /var/www/tiger-vendor/vendor/shardj/zf1-future/library/Zend/Translate/Adapter.php on line 458

Warning: DOMDocument::loadHTMLFile(): I/O warning : failed to load external entity "/var/www/tiger-www/application/modules/manual/docs/de/index.html" in /var/www/tiger-www/application/modules/manual/views/helpers/MainNav.php on line 9
@rruchte
Copy link

rruchte commented Jul 4, 2024

zf1future.com seems to be down permanently. I built a set of docs that is just static HTML and posted them at https://zf1future.thirdpartylabs.com/ . Feel free to use them.

German is here: https://zf1future.thirdpartylabs.com/de/

@sreichel
Copy link

sreichel commented Sep 23, 2024

Awesome!

Maybe host it on github-pages? (githug.io)

@rruchte
Copy link

rruchte commented Oct 8, 2024

That's a good idea, if any maintainers want to set that up for this project, I can provide the files. Or if anyone wants to build a set of docs themselves, I have a branch that generates the output that I've posted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants