Jump to content

Recommended Posts

Posted

hi,
as you may know i keep translating the core into french and i've recently ran into a little bug
with the core fully translated i keep having this in the top right menu
image.png.e11800b9e85be6693d2d81017783e3cf.png
of course i go and lool for where it is so
image.png.43245308c1bc52a7ba2c6d250fb5844c.png
if i click on the second and third link it is well translated but if i click on the first one
image.png.aaa91f8a20fe6130695d951dbb1578c4.png
i spare you the full thing, some lines 🙂
well, of course i go and look for the file AdminThemeFramework.php it exists in wire core and the text is here line 574

public function ___getUserNavArray() {
    $urls = $this->wire()->urls;
    $navArray = array();

    $navArray[] = array(
        'url' => $urls->root,
        'title' => $this->_('View site'),
        'target' => '_top',
        'icon' => 'eye',
);

the syntax is of course the right one in a class, sure you'd guessed 🙂 so is it because it is an abstract class that languagetranslator can't load it?

honestly, not a big issue but well, just in case

have a nice day

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...