Releases: OJSBR/languageToggleByFlag
Releases · OJSBR/languageToggleByFlag
3.5.0.7
Sorry, something went wrong.
No results found
Cypress: check that the language link carries the host and the page; …
3.5.0.6
Sorry, something went wrong.
No results found
Review 3.5.0.6: list languages without a flag by name only, drop stal…
3.5.0.5
Sorry, something went wrong.
No results found
Add the 38-locale PKP standard set and fix legacy locale codes
3.5.0.4
Sorry, something went wrong.
No results found
Compatibility fix for OJS 3.5: switching languages kept sending readers to the portal home instead of the current journal/page. See CHANGELOG.md.
3.5.0.3
Sorry, something went wrong.
No results found
Add European Portuguese (pt) translation; bump to 3.5.0.3
3.5.0.2
Sorry, something went wrong.
No results found
Fix wrong flags for fr_CA and eu, and the hard-coded stylesheet path
- fr_CA was byte-for-byte the French flag; it now uses the Canadian flag.
- eu (Basque) reused the Spanish flag; it now uses the ikurrina.
- The stylesheet was linked from an absolute /plugins/... path, which breaks
when OJS is installed in a subdirectory; it now uses $baseUrl.
- Translate the remaining inline comment to English.
3.5.0.1
Sorry, something went wrong.
No results found
Fix missing flags for OJS 3.5 locale codes (fr, nb_NO, pt, zh_Hans)
OJS 3.5 renamed several locales, so the flag rules keyed on the old codes never
matched and those languages showed no flag. The most visible case was French:
the toggle renders class 'flagToggle fr' while the stylesheet only had a rule
for 'fr_FR'.
Add flag images and CSS rules for the current codes (fr, nb_NO, pt, zh_Hans),
keeping the previous rules so the plugin still works on OJS 3.4.
3.5.0.0
Sorry, something went wrong.
No results found
Initial release: languageToggleByFlag for OJS/OMP/OPS 3.5 (OJSBR)
OJSBR adaptation of Lepidus Tecnologia's languageToggleByFlag block plugin
(https://github.com/lepidus/languageToggleByFlag) for PKP 3.5.
- 3.5 compatibility: replace the removed PKP\session\SessionManager with
PKP\core\PKPSessionGuard::isSessionDisable().
- OJSBR: normalize language names to initial uppercase (multibyte-safe), so the
toggle reads "English / Español / Português" instead of mixed native casing.
- Add OJSBR repo scaffolding (README, CONTRIBUTING, CODE_OF_CONDUCT, LICENSE,
docs/COPYING, packaging workflows).
Original work © Lepidus Tecnologia 2019-2024, © Simon Fraser University /
John Willinsky. Distributed under the GNU GPL v3.