Skip to content
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

Update folder name to underscore #1466

Merged
merged 1 commit into from
Sep 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions guides/plugins/plugins/storefront/add-translations.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ So your structure could then look like this:
└── src
├─ Resources
│ └─ snippet
│ ├─ de-DE
│ ├─ de_DE
│ │ └─ example.de-DE.json
│ └─ en-GB
│ └─ en_GB
│ └─ example.en-GB.json
└─ SwagBasicExample.php
```
Expand All @@ -42,7 +42,7 @@ Now that we know how the structure of snippets should be, we can create a new sn
Here's an example of an English translation file:

```json
// <extension root>/src/Resources/snippet/en\_GB/example.en-GB.json
// <extension root>/src/Resources/snippet/en_GB/example.en-GB.json
{
"header": {
"example": "Our example header"
Expand Down
Loading