We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 022c25b commit e49a1d3Copy full SHA for e49a1d3
README.md
@@ -56,6 +56,11 @@ $translate->setIconPath("https://foo.com/assets/flags/");
56
Load supportes javascript plugin
57
```php
58
$translate->load();
59
+ ```
60
+
61
+ Force translate page once pages is loaded, this must be called after `$translate->load();`
62
+ ```php
63
+ $translate->forceLanguage("ms");
64
```
65
66
Full usage on website to translate webpage
@@ -84,7 +89,7 @@ $translate->setIconPath("https://foo.com/assets/flags/");
84
89
We believe in banking locally and hope you will too.
85
90
</p>
86
91
</div>
87
- <?php $translate->load();?>
92
+ <?php $translate->load();$translate->forceLanguage("jp");?>
88
93
</body>
94
</html>
95
0 commit comments