-
-
Notifications
You must be signed in to change notification settings - Fork 10
Language overrides
Akeeba Engage uses the standard Joomla! language string system. Therefore you can override any text on the page using standard Joomla! language overrides.
For historical reasons, Joomla separates strings in frontend and backend. However, this separation doesn't have to do with where the strings are displayed, but rather where the strings are stored. For example, all plugin strings are backend (administrator) strings.
When you are doing a template override make sure to check both the frontend and backend strings if you cannot find what you are looking for.
There needs to be a special mention about the header language string above your comments. While the nominal language key is COM_ENGAGE_COMMENTS_ARTICLE_HEADER_N_COMMENTS
you will see that the English language file that ships with Akeeba Engage defines three different language keys:
-
COM_ENGAGE_COMMENTS_ARTICLE_HEADER_N_COMMENTS_0
which is used when there are no comments (comment count is 0). -
COM_ENGAGE_COMMENTS_ARTICLE_HEADER_N_COMMENTS_1
which is used when there is one comment (comment count is 1). -
COM_ENGAGE_COMMENTS_ARTICLE_HEADER_N_COMMENTS
which is used in all other cases.
The correct language key is selected automatically by Joomla based on the number of comments in the article.
Depending on your language you may have to define more language strings. For example, Russian has a different grammar form for nouns when there are exactly two of them, therefore a Russian translation would also need to define the language key COM_ENGAGE_COMMENTS_ARTICLE_HEADER_N_COMMENTS_2
.
Akeeba Engage and its documentation are Copyright © 2020-2023 Nicholas K. Dionysopoulos / Akeeba Ltd.
Akeeba Engage is Open Source Software, distributed under the GNU General Public License, version 3 of the license, or (at your option) any later version.
The Akeeba Engage Wiki content is provided under the GNU Free Documentation License, version 1.3 of the license, or (at your option) any later version.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license can be found on the GNU site.