Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

Commit

Permalink
Update docs/docs/guide/6_faq/index.md
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Seggewiß <39218577+seggewiss@users.noreply.github.com>
  • Loading branch information
jleifeld and seggewiss committed Feb 21, 2024
1 parent 6048609 commit b705d82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/guide/6_faq/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ To access the Meteor Component Library, visit the following link: https://github

You can manage all texts rendered within your [locations](../4_concepts/locations.md) with a translation plugin of your choice. If you're utilizing Vue.js as your frontend framework, you can use the i18n plugin. Additionally, to ensure consistency between your app and the Shopware Administration, you can synchronize language changes by [subscribing to them through the context API](../2_api-reference/context.md#subscribe-on-language-changes).

For text elements outside your locations, such as titles within [component sections](../4_concepts/component-sections.md), you can employ snippet files within your app. Here's a how to accomplish this:
For text elements in native Shopware Administration components, such as titles within [component sections](../4_concepts/component-sections.md), you can employ snippet files within your app. Here's a how to accomplish this:

1. **Create Snippet Files:** Begin by generating a snippet file for each supported language within your app. These files should reside in the `Resources/app/administration/snippet` directory. Naming conventions follow the language code format, for instance, `en-GB.json` for English language support. The file structure mirrors that of administration snippets. However it is not impossible to overwrite Shopware Administration snippets.

Expand Down

0 comments on commit b705d82

Please sign in to comment.