Skip to content

Commit

Permalink
Cleanup polyglot translator (#128)
Browse files Browse the repository at this point in the history
* Added cleanup message to allow Polyglot translator to be used in deployment images

* Changed cleanUp method to instance side

* Changed cleanUp to Pharo Extensions package

* Changed clean up to keep installed translations
  • Loading branch information
mtabacman authored Jul 10, 2024
1 parent 57e1b32 commit 5da4215
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
Extension { #name : 'PolyglotNaturalLanguageTranslator' }

{ #category : '*Buoy-Localization-Pharo-Extensions' }
PolyglotNaturalLanguageTranslator >> cleanUp [
"Just for Pharo compatibility.
We don't re-initialize, so that any translations installed are kept when preparing the image for deployment."


]

{ #category : '*Buoy-Localization-Pharo-Extensions' }
PolyglotNaturalLanguageTranslator >> translate: string [
"Just for Pharo compatibility"
Expand Down

0 comments on commit 5da4215

Please sign in to comment.