Matomato Posted 18 hours ago Share Posted 18 hours ago Bonjour, je développe un module pour PS 8 et 9, qui doit pouvoir modifier quelques chaînes de caractères natives, mais sans l'installation d'un thème. Par exemple, la chaîne "Shopping Cart" du domaine Shop.Theme.Checkout. J'ai essayé avec ce fichier ShopThemeCheckout.fr-FR.xlf dans le répertoire /translations/fr-FR de mon module : <?xml version="1.0" encoding="UTF-8"?> <xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2"> <file original="ShopThemeCheckout.xlf" source-language="fr-FR" target-language="fr-FR" datatype="plaintext"> <body> <trans-unit id="b75443a19207ed3a3552edda86536857"> <source>Shopping Cart</source> <target>Panier de location</target> </trans-unit> </body> </file> </xliff> mais il n'est pas pris en compte. J'envisage de forcer la modification en javascript, mais je préférerais connaître "the right way", s'il existe... Est-ce seulement possible ? -Mato Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now