# `gno.land/p/moul/x/daily/piglatin/v0`
**Pig Latin translator** — `Translate`, `TranslateToken`.
Pure `strings`/`unicode`, fully deterministic. Vowel-start words get `way`;
consonant-start words move the leading consonant cluster to the end and add `ay`;
`y` is a consonant only as the first letter; capitalization and edge punctuation
are preserved.
```go
import "gno.land/p/moul/x/daily/piglatin/v0"
piglatin.Translate("Hello, world!") // "Ellohay, orldway!"
piglatin.TranslateToken("string") // "ingstray"
```
**Live demo:** [`r/moul/x/daily/piglatindemo`](https://github.com/moul/gno-contracts/tree/main/r/moul/x/daily/piglatindemo/v0)
· render it at [`/r/moul/x/daily/piglatindemo/v0`](https://gno.land/r/moul/x/daily/piglatindemo/v0).
<!-- BEGIN GNOCONTRACTS FOOTER (generated by `make readmes`; do not edit below) -->
---
Part of **[moul/gno-contracts](https://github.com/moul/gno-contracts)** — moul's versioned gno.land contracts. See the repository for the full catalog, build/test tooling, and usage.
> 🧪 **Highly experimental — potentially vibe-coded.** Not audited; may break, change, or be removed at any time. Do not use with anything of value. Full disclaimer: [DISCLAIMER](https://github.com/moul/gno-contracts/blob/main/DISCLAIMER.md).
<!-- END GNOCONTRACTS FOOTER -->
Signatures reconstructed verbatim from vm/qfuncs — interface params keep their inline definitions.