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

Fresh install of Kunena 6.4.0 B3 not installing language files #9775

Closed
Pinkeltje opened this issue Nov 24, 2024 · 8 comments
Closed

Fresh install of Kunena 6.4.0 B3 not installing language files #9775

Pinkeltje opened this issue Nov 24, 2024 · 8 comments
Assignees
Milestone

Comments

@Pinkeltje
Copy link
Contributor

Describe the bug
Not installing language files

To Reproduce
Steps to reproduce the behavior:
Create a fresh install of Joomla 5.2.1 and install 6.4.0 B3

Expected behavior
See text instead of constants

Actual result

2024-11-24 Screenshot 709

Screenshots
If applicable, add screenshots to help explain your problem.

System information (please complete the following information)

Joomla version: 5.2.1
Kunena version: 6.4.0 B3
Php version: 8.2.12
Database version: 10.4.32-MariaDB

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@rich20 rich20 added this to the 6.4 milestone Nov 24, 2024
@rich20
Copy link
Member

rich20 commented Nov 24, 2024

The language files are installed but not found because they have been renamed. Perhaps the findlanguagestrings.php needs to be adapted?

@Pinkeltje
Copy link
Contributor Author

@rich20 they are not installed on a fresh Joomla install with K 6.4.0 B3 as I already stated. When checking my language folders en-GB for both site and admin there is nothing that is even remotely related to Kunena.

@xillibit
Copy link
Member

xillibit commented Nov 24, 2024 via email

@rich20
Copy link
Member

rich20 commented Nov 24, 2024

@Pinkeltje With a Kunena installation, only the English language is installed.
These are stored in
/administrator/components/com_kunena/language/en-GB
and
/components/com_kunena/language/en-GB.

And when installing the language package are these saved in
/administrator/language/en-GB
and
/language/en-GB

@xillibit xillibit self-assigned this Nov 24, 2024
@rich20
Copy link
Member

rich20 commented Nov 25, 2024

Language files with the designation ‘site’ or ‘admin’ in the file name are not found.
When I use the debug mode, I see several paths where these are being searched for.
Example the com_kunena.admin.controllers.ini

- /administrator/language/en-GB/com_kunena.controllers.ini
- /administrator/language/en-GB/en-GB.com_kunena.controllers.ini
- /administrator/components/com_kunena/language/en-GB/com_kunena.controllers.ini
- /administrator/components/com_kunena/language/en-GB/en-GB.com_kunena.controllers.ini

But the correct path after a new Installation would be:

- /administrator/components/com_kunena/language/en-GB/com_kunena.admin.controllers.ini

After an upgrade, the language only works because the old ini files are not removed. However, this should be done, as otherwise all Kunena language files will be available twice.

@xillibit
Copy link
Member

xillibit commented Nov 25, 2024

I have noticied that too, i need to remove the site and admin in the filenames

@xillibit
Copy link
Member

I have renammed the files in frontend and backend back to their names without the site and admin part, it should be changed in crowdin

@rich20
Copy link
Member

rich20 commented Nov 25, 2024

Can you please check again? The files with 'site' in the filename will still be installed in the frontend.
https://github.com/Kunena/Kunena-Forum/tree/K6.4/src/site/language/en-GB

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

No branches or pull requests

3 participants