French works but German not (on 8.0.1 and 8.0.3)

Hello,

I’m trying to get German working.
French does work as expected.
Screenshot_20220208_144400

When I select German and use the keyboard to login, the whole main menu is empty.
Screenshot_20220208_143501

The manifest.php of both files looks ok/similar.
I don’t see any special errors in the suitecrm.log when logging in with German.

Anybody else with a similar issue?
How to solve this?

Hi,
Yes, I have a similar issue.

After installing the new language some functionality did not work properly.

Yes, that looks similar indeed.
I’ve been able to install swiss german, which works as well and will display everything in German.
I’ve tried to check the differences between de_de and others but of course, almost everything is different.
Maybe there is just a small syntax error in de_de (and in your case Portuguese) which causes this issue?

I agree this should be the cause. Maybe a look in the php_errors.log file might give you clues, especially if it includes stack traces

I see only this one in the php errors:

PHP Notice:  Undefined index: Support Forum in /var/www/html/suitecrm8.demo/public/legacy/include/MVC/View/SugarView.php on line 508, referer: http://suitecrm8.demo/

The logging settings:

My log level is:
error reporting 22527
includes E_ERROR, E_WARNING, E_PARSE, E_NOTICE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR, E_COMPILE_WARNING, E_USER_ERROR, E_USER_WARNING, E_USER_NOTICE, E_RECOVERABLE_ERROR, E_USER_DEPRECATED
excludes E_STRICT, E_DEPRECATED, E_ALL

Even switching to:
error_reporting = E_ALL
I don’t see any error with the German language files.

Any idea on how to continue debugging?

Can you check errors on the browser console?

Ah, we’re getting a step further.
At the login screen, there are no issues.
image

After logging in, I see:
image

When I click on the resource:

de_DE was not in list . <pre>Array
(
    [en_us] => English (US)
    [fr_FR] => Français (France) - fr_FR
    [de_CH] => Deutsch (Switzerland) - de_CH
)
</pre>Invalid language specified

But this error seems to me, as if it’s just a “follow up error” and not the root of the issue.