nb-NO 4.0.1.1 partly works as intended as the default language, but the "Read more" in frontend still appears in English.
I have checked the com_content.ini file, and there the Norwegian translation appears to be correct ("Les mer"). Reinstalling the language pack did not solve the problem.
Any ideas, anyone?
Bug in Norwegian language pack? Topic is solved
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
-
- Joomla! Apprentice
- Posts: 18
- Joined: Fri Nov 17, 2006 1:14 am
- imanickam
- Joomla! Master
- Posts: 28206
- Joined: Wed Aug 13, 2008 2:57 am
- Location: Chennai, India
Re: Bug in Norwegian language pack?
Tested the Norwegian (nb-NO) language pack. Reviewing the language pack revealed that the following language string is missing in the file joomla.ini that is located in the directory \language\nb-NO.
The above language string is used when the option Read More with Title is set to Show. When the option Read More with Title is set to Hide, the following language string is used and this language string exists in the file joomla.ini that is located in the directory \language\nb-NO, and hence the translation is shown.
What you could do is create a language override [language: Norwegian bokmål (Norway) & Client: Site] for the missing language sting shown above. The document https://docs.joomla.org/J3.x:Language_O ... _in_Joomla would be of help in understanding how to create language overrides. Even though the document is for Joomla 3, the concept is same in Joomla 4.
Note:
The language pack is very much outdated and hence the issue. Please get in touch with the language coordinator about this and releasing the latest version of the Norwegian Bokmål (nb-NO) language pack.
Code: Select all
JGLOBAL_READ_MORE_TITLE="Read more: %s"
The above language string is used when the option Read More with Title is set to Show. When the option Read More with Title is set to Hide, the following language string is used and this language string exists in the file joomla.ini that is located in the directory \language\nb-NO, and hence the translation is shown.
Code: Select all
JGLOBAL_READ_MORE="Les mer …"
What you could do is create a language override [language: Norwegian bokmål (Norway) & Client: Site] for the missing language sting shown above. The document https://docs.joomla.org/J3.x:Language_O ... _in_Joomla would be of help in understanding how to create language overrides. Even though the document is for Joomla 3, the concept is same in Joomla 4.
Note:
The language pack is very much outdated and hence the issue. Please get in touch with the language coordinator about this and releasing the latest version of the Norwegian Bokmål (nb-NO) language pack.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
-
- Joomla! Apprentice
- Posts: 18
- Joined: Fri Nov 17, 2006 1:14 am
Re: Bug in Norwegian language pack?
Thank you for your advice.
The JGLOBAL_READ_MORE doesn't seem to be present in the com_content.ini in other languages either.
So the missing string may belong in some other .ini-file?
I also tried an override in the existing UK language COM_CONTENT_READ_MORE_TITLE in case there was a mix-up of deafult language. That didn't work either.
Unfortunately, the override (see attachment) didn't help - unless I might have got some parameters wrong.What you could do is create a language override [language: Norwegian bokmål (Norway) & Client: Site] for the missing language sting shown above.
The JGLOBAL_READ_MORE doesn't seem to be present in the com_content.ini in other languages either.
So the missing string may belong in some other .ini-file?
I also tried an override in the existing UK language COM_CONTENT_READ_MORE_TITLE in case there was a mix-up of deafult language. That didn't work either.
You do not have the required permissions to view the files attached to this post.
-
- Joomla! Apprentice
- Posts: 18
- Joined: Fri Nov 17, 2006 1:14 am
Re: Bug in Norwegian language pack?
Update: After disabling "Read more with title" in (featured) articles, the override seems to work. That solves it for the time being, albeit without the title reference. Thanks again.
- imanickam
- Joomla! Master
- Posts: 28206
- Joined: Wed Aug 13, 2008 2:57 am
- Location: Chennai, India
Re: Bug in Norwegian language pack?
As I mentioned in my previous post, this language string is available in the file joomla.ini that is located in the directory \language\xx-YY (where xx-YY is the language code - example: nb-NO).
You have to create the language override for the following language string for the title to appear after Read More.
Code: Select all
JGLOBAL_READ_MORE_TITLE="Read more: %s"
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
-
- Joomla! Apprentice
- Posts: 18
- Joined: Fri Nov 17, 2006 1:14 am
Re: Bug in Norwegian language pack?
Solved! Thank you.
In this case the code string had to be inserted manually (copied), as it was missing and did not show up in the 'variable' search.
Sorry I misunderstood your first reference to the joomla.ini file.
In this case the code string had to be inserted manually (copied), as it was missing and did not show up in the 'variable' search.
Sorry I misunderstood your first reference to the joomla.ini file.