-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Follow symlinks for traductions - Deployer best practice #36160
base: develop
Are you sure you want to change the base?
Follow symlinks for traductions - Deployer best practice #36160
Conversation
Jeremie-Kiwik
commented
May 14, 2024
•
edited by kpodemski
edited by kpodemski
Questions | Answers |
---|---|
Branch? | develop |
Description? | The Finder used to search translation files does not follow symlinks by default. This is a major issue when working with modern and robust solutions like Deployer. On these environments, each GIT release is in a specific folder, and the "living" files (traductions, images...) are in a common shared folder. Symlinks are then created to point to the shared folder. Currently, all translation files are ignored by PrestaShop, as they are symlinks. This PR aims to integrate them. |
Type? | bug fix |
Category? | CO |
BC breaks? | no |
Deprecations? | no |
How to test? | Move a traduction file from app/Resources/translations or from your theme to somewhere else, and make a symlink to it (ie: ln -fs /moved_file /original/location) |
UI Tests | |
Fixed issue or discussion? | Fixes #36161 |
Related PRs | |
Sponsor company | KIWIK (kiwik.com) |
The Finder used to search traduction files does not follow symlinks by default. Which is a major problem when working with modern and robust solutions like Deployer. On those environments, each GIT release is in a specific folder, and the "living" files (traductions, images...) are in a common shared folder. And symlinks are made to point to the shared folder. So for now, all the traduction files are ignored by Presta, as they are symlinks. This PR aims to integrate them
Hello @Jeremie-Kiwik! This is your first pull request on the PrestaShop project. Thank you, and welcome to this Open Source community! |
Hi, thanks for this contribution! I found some issues with the Pull Request description:
Would you mind having a look at it? This will help us understand how interesting your contribution is, thank you very much! About linked issuesPlease consider opening an issue before submitting a Pull Request:
(Note: this is an automated message, but answering it will reach a real human) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Jeremie-Kiwik
To respect coding standards of the project you should use spaces instead of tabs ;-)
Remplace tabs by spaces
You're right. Here it is! |