GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ppapadatis/Neos.Languages: A simple "plugin" with detailed instructions on how to activate and use languages in Neos

This repository was archived by the owner on Nov 3, 2021. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

17 Commits
17 Commits

Folders and files

NameName
Last commit message
Last commit date
Packages
Packages
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

DEPRECATED

This package is no longer maintained, developed or supported by any means. The latest version of Neos supports languages out of the box.

Neos.Languages

A simple "plugin" with detailed instructions on how to activate and use languages in Neos

Installation-Usage

Extract the contents in your project folder. Overwrite potential conflicts. The html of the language menu is based on Bootstrap 3. There is no need to include the typoscript file of the plugin in your project's Root.ts2.

In order to have the language menu switcher available in our site, we have to create in Root.ts2

languageMenu = TYPO3.Neos:LanguageMenu

and add it in our template file

{languageMenu -> f:format.raw()}

Add the following files (Objects.yaml, Settings.yaml) in your project's site and run the following CLI commands.

Objects.yaml

TYPO3\Neos\Routing\FrontendNodeRoutePartHandlerInterface:
  className: TYPO3\Neos\Routing\LocalizedFrontendNodeRoutePartHandler

Settings.yaml

TYPO3:
  TYPO3CR:
    contentDimensions:
      languages:
        default: en_GB
  Neos:
    contentDimensions:
      dimensions:
        'languages':
          defaultPreset: 'en_GB'
          label: 'Languages'
          icon: 'icon-language'
          presets:
            'de_DE':
              label: 'Deutsch'
              values: ['de_DE', 'en_GB']
              uriSegment: 'de'
            'en_GB':
              label: 'English'
              values: ['en_GB']
              uriSegment: 'en'
            'el_GR':
              label: 'Greek'
              values: ['el_GR', 'en_GB']
              uriSegment: 'el'

CLI

./flow flow:cache:flush -f

./flow site:import --package-key TYPO3.NeosDemoTypo3Org (optional step)

~mysqldump typo3_typo3cr_domain_model_nodedimension~

./flow node:migrate --version 20140516221523

~import mysqldump~

Note

You have to change the package property of line 6 and line 18 in LnaguageMenu.html to your package name.

Same goes for the LocaleAspect.php; change its path and namespace.

About

A simple "plugin" with detailed instructions on how to activate and use languages in Neos

Resources

Readme
GPL-3.0 license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.