Code Monkey home page Code Monkey logo

Comments (4)

alexander-schranz avatar alexander-schranz commented on July 18, 2024

Hello @zangai,
can you check if your user have permissions for that locale. Click on the left bottom on your user go to the permissions tab and there you can select which permissions he have for a specific role in which languages.

from sulu-standard.

zangai avatar zangai commented on July 18, 2024

@alexander-schranz I looked there, and it only shows the "en" option.
image

from sulu-standard.

alexander-schranz avatar alexander-schranz commented on July 18, 2024

@zangai then I think you did not clear the cache. As there is no developer toolbar I think you are under prod environment (see below how to switch to dev) you can run the following command then to clear the admin cache:

app/console cache:clear --env=prod

or just remove the content of the app/cache (var/cache/ in sulu-minimal).

Also run app/console sulu:document:init after you cleared the cache:

The following command:

app/console doctrine:phpcr:node:dump /cmf/dev7_nl/routes --depth=1

should then output your new added languages:

/cmf/dev7_nl/routes:
  nl:
  sv:
  en:

Also run:

 app/console sulu:content:validate:webspaces

Switching to dev environment

To switch dev environment you need to SetEnv SYMFONY_ENV dev in your apache vhost see http://docs.sulu.io/en/latest/cookbook/web-server/apache.html#virtual-host-configuration
Or for nginx: it is fastcgi_params SYMFONY_ENV dev; see here http://docs.sulu.io/en/latest/cookbook/web-server/nginx.html#virtual-host-configuration

You should choose sulu-minimal

Also want to mention the current version of sulu-standard using the old symfony 2 folder structure: You should use sulu-minimal the more modern symfony 3 folder structure to start new projects as documented here. See also #792 (comment).

from sulu-standard.

zangai avatar zangai commented on July 18, 2024

Yeah, it does seem that I have only kept clearing the dev cache while the site was showing in prod. Thanks for the help.

from sulu-standard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.