-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
04 - Add additional languages to the website #9
Open
luca-rath
wants to merge
1
commit into
assignment/03
Choose a base branch
from
assignment/04
base: assignment/03
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29f6a4b
to
c0c1b50
Compare
0f72107
to
538093d
Compare
82c2319
to
5f0101b
Compare
1325021
to
d8834f7
Compare
d8834f7
to
ce0b250
Compare
c1f1b51
to
7bf512d
Compare
ce0b250
to
5c8bf6e
Compare
7bf512d
to
afbf342
Compare
5c8bf6e
to
35f0ed7
Compare
afbf342
to
c37ea3b
Compare
95301c8
to
431e715
Compare
431e715
to
83b77af
Compare
83b77af
to
8064126
Compare
3cd912b
to
e71e032
Compare
8064126
to
2ff2508
Compare
e71e032
to
be8c88b
Compare
3c653f3
to
e685d78
Compare
96ae2c2
to
89e7baa
Compare
7d90680
to
671d719
Compare
89e7baa
to
f6ef6bc
Compare
671d719
to
a902ba9
Compare
f6ef6bc
to
e1e8742
Compare
a902ba9
to
9d0a8af
Compare
e1e8742
to
618064d
Compare
327d8a5
to
e2c983f
Compare
d5886d2
to
b5a94c5
Compare
e2c983f
to
1b13d6b
Compare
1b13d6b
to
4d47830
Compare
4d47830
to
cc8dded
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add additional languages to the website
Goal
Our website is gaining traction in germany and france. To communicate with our new users in their native language we
want to add german an french as additional languages and translate our existing content.
Steps
config/webspaces/example.xml
filebin/console sulu:document:initialize
to initialize the new languagestemplates/base.html.twig
Hints
{{ dump(urls) }}
in the Twig template to find out how Sulu provides urls for multiple languagesMore Information
As Sulu is built for internationally focused companies, managing localized content is a core feature of the system.
Sulu does not only handle different languages, but also allows to manage different variations of a single language
among different countries.
Available localizations for the content of the website are defined in the webspace configuration file.
Links